Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 185.3 kB / 16.92 MB, free: 6.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003726, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6901, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004444/0.6946, allocations: 4.016 MB / 0.9596 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.863, allocations: 146.7 MB / 1.103 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.864, allocations: 15.94 kB / 1.103 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.8648, allocations: 138.9 kB / 1.103 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.8669, allocations: 448.4 kB / 1.103 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.8692, allocations: 0.729 MB / 1.104 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.871, allocations: 1.253 MB / 1.105 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.8721, allocations: 0.592 MB / 1.106 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.8728, allocations: 358.2 kB / 1.106 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007294/0.8736, allocations: 389.8 kB / 1.107 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.8738, allocations: 28 kB / 1.107 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.875, allocations: 375.6 kB / 1.107 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.8753, allocations: 191.1 kB / 1.107 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.8759, allocations: 470.8 kB / 1.108 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.8776, allocations: 1.181 MB / 1.109 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8776, allocations: 0 / 1.109 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8776, allocations: 0 / 1.109 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.8776, allocations: 0 / 1.109 GB, free: 1.992 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002625/0.8803, allocations: 1.234 MB / 1.11 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.8803, allocations: 8.031 kB / 1.11 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.8813, allocations: 203.4 kB / 1.11 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.8824, allocations: 0.7507 MB / 1.111 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.649e-05/0.8825, allocations: 69.98 kB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.8827, allocations: 84 kB / 1.111 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.8844, allocations: 0.9457 MB / 1.112 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.8844, allocations: 0 / 1.112 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-05/0.8845, allocations: 36 kB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.8845, allocations: 20 kB / 1.112 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.8864, allocations: 1.143 MB / 1.113 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.8907, allocations: 2.563 MB / 1.116 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.8924, allocations: 0.9186 MB / 1.117 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.893, allocations: 314.7 kB / 1.117 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.8931, allocations: 28.67 kB / 1.117 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009534/0.894, allocations: 0.5236 MB / 1.117 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.986e-06/0.894, allocations: 3.938 kB / 1.117 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.00321/0.8973, allocations: 1.259 MB / 1.119 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.8974, allocations: 196.9 kB / 1.119 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.8983, allocations: 0.641 MB / 1.119 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.831e-05/0.8984, allocations: 49.7 kB / 1.12 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.8987, allocations: 400.4 kB / 1.12 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.899, allocations: 272.1 kB / 1.12 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.8991, allocations: 69.62 kB / 1.12 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.8993, allocations: 394.7 kB / 1.121 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.8999, allocations: 277.9 kB / 1.121 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.9005, allocations: 383.1 kB / 1.121 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.9017, allocations: 0.6281 MB / 1.122 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9017, allocations: 0 / 1.122 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002022/0.9037, allocations: 0.8878 MB / 1.123 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9038, allocations: 8 kB / 1.123 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9038, allocations: 3.938 kB / 1.123 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.9044, allocations: 88.8 kB / 1.123 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.9051, allocations: 167.8 kB / 1.123 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.9072, allocations: 1.512 MB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.9081, allocations: 104.8 kB / 1.125 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.9082, allocations: 44.03 kB / 1.125 GB, free: 1.293 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005047/0.9087, allocations: 275.7 kB / 1.125 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.9088, allocations: 83.16 kB / 1.125 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.9114, allocations: 1.151 MB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.9114, allocations: 8 kB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9114, allocations: 4 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.9114, allocations: 11.91 kB / 1.126 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.9149, allocations: 2.021 MB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9149, allocations: 0 / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.9155, allocations: 163.7 kB / 1.128 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.9161, allocations: 80.78 kB / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.9162, allocations: 27.97 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.9181, allocations: 1.552 MB / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9181, allocations: 0 / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.9203, allocations: 1.058 MB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.9209, allocations: 291.6 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.921, allocations: 27.88 kB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.9217, allocations: 84.53 kB / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.9219, allocations: 72.89 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.922, allocations: 43.97 kB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006279/0.9226, allocations: 463 kB / 1.132 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9226, allocations: 0 / 1.132 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009214/0.9236, allocations: 323.2 kB / 1.132 GB, free: 9.328 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.925, allocations: 0.6169 MB / 1.133 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.9269, allocations: 0.8665 MB / 1.134 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.9269, allocations: 4 kB / 1.134 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/0.9279, allocations: 0.5392 MB / 1.134 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.9293, allocations: 257.7 kB / 1.134 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.9337, allocations: 2.341 MB / 1.137 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.9345, allocations: 1.039 MB / 1.138 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.9349, allocations: 123.4 kB / 1.138 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of SimCode: time 7.12e-07/0.9349, allocations: 0 / 1.138 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of Templates: time 0.02659/0.9615, allocations: 18.66 MB / 1.156 GB, free: 1.039 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches