Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 99.42 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.001629/0.00163, allocations: 181.1 kB / 16.92 MB, free: 6.918 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.242 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.462/2.462, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003939, allocations: 11.94 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7221, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005001/0.7272, allocations: 4.992 MB / 0.9606 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.8962, allocations: 147.2 MB / 1.104 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.8975, allocations: 15.94 kB / 1.104 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009136/0.8984, allocations: 162.6 kB / 1.104 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.901, allocations: 0.5876 MB / 1.105 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.9036, allocations: 0.854 MB / 1.106 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.9061, allocations: 1.76 MB / 1.108 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.9079, allocations: 1.021 MB / 1.109 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.909, allocations: 0.544 MB / 1.109 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.9101, allocations: 0.6176 MB / 1.11 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.9104, allocations: 44 kB / 1.11 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.9114, allocations: 383.6 kB / 1.11 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.9118, allocations: 282.5 kB / 1.11 GB, free: 312 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.9127, allocations: 0.7003 MB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.9148, allocations: 1.804 MB / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9149, allocations: 0 / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9149, allocations: 0 / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.498e-05/0.9149, allocations: 0 / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004002/0.9189, allocations: 1.684 MB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.919, allocations: 12.03 kB / 1.115 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.9203, allocations: 270.6 kB / 1.115 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.922, allocations: 0.9654 MB / 1.116 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.9222, allocations: 115.1 kB / 1.116 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.9225, allocations: 144 kB / 1.116 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.9258, allocations: 1.592 MB / 1.118 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.9259, allocations: 0 / 1.118 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.926, allocations: 67.98 kB / 1.118 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.9261, allocations: 36 kB / 1.118 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.9291, allocations: 1.639 MB / 1.119 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007879/0.937, allocations: 4.191 MB / 1.123 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.9394, allocations: 1.195 MB / 1.124 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/0.9403, allocations: 483.6 kB / 1.125 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.9405, allocations: 52.98 kB / 1.125 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.9419, allocations: 0.7822 MB / 1.126 GB, free: 308 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 4.909e-06/0.9419, allocations: 0 / 1.126 GB, free: 308 kB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004664/0.9466, allocations: 1.853 MB / 1.128 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.9467, allocations: 197.2 kB / 1.128 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.9482, allocations: 0.8653 MB / 1.129 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.9483, allocations: 53.7 kB / 1.129 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/0.9489, allocations: 0.6016 MB / 1.129 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.9493, allocations: 414.1 kB / 1.13 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.9495, allocations: 105.7 kB / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.9496, allocations: 358 kB / 1.13 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009425/0.9506, allocations: 454.3 kB / 1.131 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.9516, allocations: 0.5649 MB / 1.131 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.9535, allocations: 0.9896 MB / 1.132 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9535, allocations: 4 kB / 1.132 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003039/0.9566, allocations: 1.344 MB / 1.133 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9566, allocations: 4 kB / 1.133 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.9566, allocations: 0 / 1.133 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.9573, allocations: 92.77 kB / 1.133 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.9585, allocations: 259.6 kB / 1.134 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.9606, allocations: 1.543 MB / 1.135 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.9619, allocations: 164.3 kB / 1.135 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.9621, allocations: 55.95 kB / 1.135 GB, free: 6.109 MB / 0.8887 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,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007918/0.9629, allocations: 357.7 kB / 1.136 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.9632, allocations: 126.5 kB / 1.136 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.9672, allocations: 1.717 MB / 1.138 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.9672, allocations: 12 kB / 1.138 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9672, allocations: 0 / 1.138 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.9673, allocations: 7.969 kB / 1.138 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.9693, allocations: 1.405 MB / 1.139 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.9693, allocations: 0 / 1.139 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.9703, allocations: 215.7 kB / 1.139 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.9709, allocations: 88.7 kB / 1.139 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.971, allocations: 39.97 kB / 1.139 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.973, allocations: 1.563 MB / 1.141 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.973, allocations: 0 / 1.141 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.9761, allocations: 1.422 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.9769, allocations: 402.8 kB / 1.143 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.9771, allocations: 32 kB / 1.143 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.9782, allocations: 105.7 kB / 1.143 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.9785, allocations: 117.1 kB / 1.143 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.9786, allocations: 51.97 kB / 1.143 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001097/0.9797, allocations: 0.6502 MB / 1.143 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9797, allocations: 0 / 1.143 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001418/0.9812, allocations: 474.6 kB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001599/0.9828, allocations: 0.613 MB / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.9855, allocations: 1.275 MB / 1.146 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9856, allocations: 0 / 1.146 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.987, allocations: 0.7441 MB / 1.147 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.9887, allocations: 297.7 kB / 1.147 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.9952, allocations: 3.483 MB / 1.15 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.9963, allocations: 1.233 MB / 1.151 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007329/0.9971, allocations: 179.3 kB / 1.152 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of SimCode: time 9.42e-07/0.9971, allocations: 3.938 kB / 1.152 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of Templates: time 0.0394/1.036, allocations: 27.19 MB / 1.178 GB, free: 10.26 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches