Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 108.9 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 61.44 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006374/0.2879, allocations: 4.474 MB / 0.9555 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6504/0.9383, allocations: 150.7 MB / 1.103 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.9391, allocations: 21.88 kB / 1.103 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.9398, allocations: 179.5 kB / 1.103 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.9418, allocations: 0.529 MB / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.9439, allocations: 0.8395 MB / 1.104 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.9456, allocations: 1.373 MB / 1.106 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.9465, allocations: 0.624 MB / 1.106 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007082/0.9472, allocations: 0.4949 MB / 1.107 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.9479, allocations: 0.522 MB / 1.107 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.9481, allocations: 120.2 kB / 1.107 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.9491, allocations: 488.8 kB / 1.108 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.9494, allocations: 312.8 kB / 1.108 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.95, allocations: 0.5679 MB / 1.109 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.952, allocations: 1.657 MB / 1.11 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.952, allocations: 4.562 kB / 1.11 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.952, allocations: 0 / 1.11 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.9521, allocations: 0.5 kB / 1.11 GB, free: 3.996 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003007/0.9551, allocations: 1.463 MB / 1.112 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.9551, allocations: 10.89 kB / 1.112 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/0.9561, allocations: 191.8 kB / 1.112 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.9574, allocations: 0.7777 MB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.9574, allocations: 66.75 kB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.9576, allocations: 84.25 kB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.9593, allocations: 0.9661 MB / 1.114 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.9593, allocations: 0.875 kB / 1.114 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/0.9594, allocations: 37.44 kB / 1.114 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.9594, allocations: 21.53 kB / 1.114 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.9613, allocations: 1.159 MB / 1.115 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.9655, allocations: 2.643 MB / 1.117 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.967, allocations: 0.8528 MB / 1.118 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.9675, allocations: 320.2 kB / 1.119 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.9676, allocations: 35.06 kB / 1.119 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/0.9685, allocations: 0.5257 MB / 1.119 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.464e-06/0.9685, allocations: 0 / 1.119 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003194/0.9717, allocations: 1.285 MB / 1.12 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.9718, allocations: 193.2 kB / 1.121 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.9726, allocations: 0.6591 MB / 1.121 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/0.9727, allocations: 51.73 kB / 1.121 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.973, allocations: 404.2 kB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.9731, allocations: 282.9 kB / 1.122 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.9734, allocations: 179.8 kB / 1.122 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9736, allocations: 392.7 kB / 1.122 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.9742, allocations: 289.4 kB / 1.123 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.9749, allocations: 393.7 kB / 1.123 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.9761, allocations: 0.6586 MB / 1.124 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9761, allocations: 0 / 1.124 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002086/0.9782, allocations: 0.9153 MB / 1.125 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9782, allocations: 8.766 kB / 1.125 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.9782, allocations: 3.938 kB / 1.125 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.9788, allocations: 82.12 kB / 1.125 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.9796, allocations: 181.5 kB / 1.125 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.9816, allocations: 1.631 MB / 1.127 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.9824, allocations: 103.9 kB / 1.127 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.9825, allocations: 38.84 kB / 1.127 GB, free: 14.68 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 (105): * Single equations (assignments): 104 * 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.0005407/0.9831, allocations: 278.8 kB / 1.127 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.9833, allocations: 84.66 kB / 1.127 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.9858, allocations: 1.166 MB / 1.128 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.9858, allocations: 19.53 kB / 1.128 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.9858, allocations: 0 / 1.128 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.9858, allocations: 5.531 kB / 1.128 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.9869, allocations: 0.9352 MB / 1.129 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.9869, allocations: 0 / 1.129 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.9875, allocations: 157.2 kB / 1.129 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.9879, allocations: 73.02 kB / 1.129 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.988, allocations: 31.97 kB / 1.129 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.9898, allocations: 1.666 MB / 1.131 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9898, allocations: 0 / 1.131 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.9919, allocations: 0.9957 MB / 1.132 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.9923, allocations: 278.6 kB / 1.132 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.9925, allocations: 26.45 kB / 1.132 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.9932, allocations: 69.02 kB / 1.132 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.9934, allocations: 79.92 kB / 1.132 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.9935, allocations: 38.52 kB / 1.132 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000668/0.9942, allocations: 478.8 kB / 1.133 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9942, allocations: 1.203 kB / 1.133 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001028/0.9952, allocations: 324.6 kB / 1.133 GB, free: 12.26 MB / 0.8731 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001446/0.9967, allocations: 0.6118 MB / 1.134 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.9985, allocations: 0.9016 MB / 1.135 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9985, allocations: 1 kB / 1.135 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009944/0.9995, allocations: 0.5427 MB / 1.135 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.001, allocations: 293 kB / 1.135 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.005, allocations: 1.826 MB / 1.137 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/1.005, allocations: 1.04 MB / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009542/1.006, allocations: 271.7 kB / 1.139 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.007, allocations: 116.4 kB / 1.139 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.007, allocations: 0 / 1.139 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.03327/1.04, allocations: 15.53 MB / 1.154 GB, free: 5.504 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches