Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 161.8 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.744/2.744, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.445e-05/3.616e-05, allocations: 9.312 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.009162/0.009199, allocations: 4.475 MB / 0.9858 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.1846, allocations: 132.8 MB / 1.115 GB, free: 2.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.1855, allocations: 23.81 kB / 1.115 GB, free: 2.207 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.1861, allocations: 202.1 kB / 1.116 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.1881, allocations: 0.5907 MB / 1.116 GB, free: 1.418 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.1902, allocations: 0.8978 MB / 1.117 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.1922, allocations: 1.522 MB / 1.119 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.1929, allocations: 405.9 kB / 1.119 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1942, allocations: 0.7719 MB / 1.12 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.1948, allocations: 430.7 kB / 1.12 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.195, allocations: 128 kB / 1.12 GB, free: 13.26 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1961, allocations: 0.5032 MB / 1.121 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.1964, allocations: 322.9 kB / 1.121 GB, free: 12.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.1969, allocations: 407 kB / 1.121 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.1994, allocations: 1.854 MB / 1.123 GB, free: 10.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1994, allocations: 0 / 1.123 GB, free: 10.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1994, allocations: 0 / 1.123 GB, free: 10.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.1994, allocations: 0 / 1.123 GB, free: 10.18 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002863/0.2023, allocations: 1.472 MB / 1.125 GB, free: 8.672 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2023, allocations: 16.03 kB / 1.125 GB, free: 8.656 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.2041, allocations: 248 kB / 1.125 GB, free: 8.414 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.2054, allocations: 0.7413 MB / 1.126 GB, free: 7.645 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.2055, allocations: 74.11 kB / 1.126 GB, free: 7.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.2057, allocations: 88 kB / 1.126 GB, free: 7.484 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.2076, allocations: 1.22 MB / 1.127 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2076, allocations: 0 / 1.127 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.872e-05/0.2077, allocations: 39.98 kB / 1.127 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2077, allocations: 20 kB / 1.127 GB, free: 6.105 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.2097, allocations: 1.089 MB / 1.128 GB, free: 5.016 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/0.2143, allocations: 2.264 MB / 1.13 GB, free: 2.695 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.2161, allocations: 0.8554 MB / 1.131 GB, free: 1.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.2167, allocations: 314 kB / 1.132 GB, free: 1.531 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.2168, allocations: 24.98 kB / 1.132 GB, free: 1.508 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.2178, allocations: 0.6361 MB / 1.132 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of pre-optimization done (n=94): time 2.846e-06/0.2178, allocations: 0 / 1.132 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of matching and sorting (n=94): time 0.5191/0.7369, allocations: 1.235 MB / 1.133 GB, free: 195.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.737, allocations: 198.2 kB / 1.134 GB, free: 194.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.7378, allocations: 0.6181 MB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.7379, allocations: 56.02 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.7381, allocations: 408.8 kB / 1.135 GB, free: 194.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.7383, allocations: 315.5 kB / 1.135 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.7385, allocations: 191.7 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.7386, allocations: 384.8 kB / 1.135 GB, free: 193.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.7391, allocations: 311.3 kB / 1.136 GB, free: 193.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.7397, allocations: 0.5336 MB / 1.136 GB, free: 193.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7408, allocations: 0.6808 MB / 1.137 GB, free: 193.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7408, allocations: 0 / 1.137 GB, free: 193.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002004/0.7428, allocations: 0.9655 MB / 1.138 GB, free: 192.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.7428, allocations: 6.438 kB / 1.138 GB, free: 192.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7428, allocations: 2.938 kB / 1.138 GB, free: 192.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.7434, allocations: 80.88 kB / 1.138 GB, free: 192.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.7442, allocations: 186.7 kB / 1.138 GB, free: 192.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.7461, allocations: 1.5 MB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.7471, allocations: 98.95 kB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.7472, allocations: 44.67 kB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,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 (115): * Single equations (assignments): 114 * 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.0005452/0.7478, allocations: 285.9 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.7479, allocations: 91.53 kB / 1.14 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.7503, allocations: 1.175 MB / 1.141 GB, free: 190.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7503, allocations: 8.812 kB / 1.141 GB, free: 190.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7503, allocations: 1.641 kB / 1.141 GB, free: 190.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.7503, allocations: 8.578 kB / 1.141 GB, free: 190.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.7537, allocations: 2.024 MB / 1.143 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7537, allocations: 0 / 1.143 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.7543, allocations: 159.2 kB / 1.143 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.7548, allocations: 75.86 kB / 1.143 GB, free: 189.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.7548, allocations: 31.11 kB / 1.143 GB, free: 189.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.7564, allocations: 1.526 MB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7564, allocations: 0 / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.7584, allocations: 1.099 MB / 1.146 GB, free: 187.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.7588, allocations: 212.5 kB / 1.146 GB, free: 187.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.7589, allocations: 36.19 kB / 1.146 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/0.7596, allocations: 63.67 kB / 1.146 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.7597, allocations: 85.31 kB / 1.146 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.7598, allocations: 42.41 kB / 1.146 GB, free: 187.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000455/0.7603, allocations: 447.7 kB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7603, allocations: 6.844 kB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008552/0.7611, allocations: 348.3 kB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001958/0.7631, allocations: 0.6661 MB / 1.148 GB, free: 187.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.7647, allocations: 0.8834 MB / 1.149 GB, free: 186.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7647, allocations: 6.531 kB / 1.149 GB, free: 186.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.7656, allocations: 0.5208 MB / 1.149 GB, free: 186.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.7668, allocations: 298.7 kB / 1.15 GB, free: 186.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.7695, allocations: 1.759 MB / 1.151 GB, free: 185.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.7699, allocations: 460 kB / 1.152 GB, free: 185.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006795/0.7705, allocations: 270.7 kB / 1.152 GB, free: 185.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.7708, allocations: 117 kB / 1.152 GB, free: 185.5 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.7708, allocations: 0 / 1.152 GB, free: 185.5 MB / 1.076 GB Notification: Performance of Templates: time 0.02726/0.7981, allocations: 16.3 MB / 1.168 GB, free: 183.5 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.39340778067708]