Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00124/0.00124, allocations: 199 kB / 16.14 MB, free: 6.711 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.03 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6456/0.6468, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005132/0.652, allocations: 4.326 MB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.816, allocations: 148.2 MB / 1.098 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008224/0.8169, allocations: 19.88 kB / 1.098 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.8174, allocations: 134.9 kB / 1.098 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.8189, allocations: 433.6 kB / 1.098 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.8207, allocations: 0.7224 MB / 1.099 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.822, allocations: 1.203 MB / 1.1 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.8229, allocations: 0.6151 MB / 1.101 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.8234, allocations: 410.3 kB / 1.101 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.8239, allocations: 461.8 kB / 1.102 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.824, allocations: 59.94 kB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.8249, allocations: 399.7 kB / 1.102 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.8251, allocations: 235.1 kB / 1.102 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.8255, allocations: 493.1 kB / 1.103 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.8269, allocations: 1.527 MB / 1.104 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8269, allocations: 0 / 1.104 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.21e-07/0.8269, allocations: 0 / 1.104 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.8269, allocations: 0 / 1.104 GB, free: 2.441 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002444/0.8294, allocations: 1.407 MB / 1.106 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.8294, allocations: 8.031 kB / 1.106 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/0.8303, allocations: 187.4 kB / 1.106 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.8313, allocations: 0.7383 MB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.8314, allocations: 62.08 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.8315, allocations: 80 kB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.833, allocations: 0.9145 MB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.8331, allocations: 4 kB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.552e-05/0.8332, allocations: 36 kB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.8332, allocations: 24 kB / 1.108 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.8349, allocations: 1.104 MB / 1.109 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.8386, allocations: 2.531 MB / 1.111 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.8401, allocations: 0.887 MB / 1.112 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.8407, allocations: 306.7 kB / 1.112 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-05/0.8407, allocations: 28.61 kB / 1.112 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008845/0.8416, allocations: 0.4951 MB / 1.113 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.144e-06/0.8416, allocations: 0 / 1.113 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003106/0.8448, allocations: 1.186 MB / 1.114 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8449, allocations: 192.6 kB / 1.114 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.8457, allocations: 0.6252 MB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.8458, allocations: 41.7 kB / 1.115 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.8461, allocations: 392.4 kB / 1.115 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.8463, allocations: 260.2 kB / 1.116 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.8465, allocations: 162.5 kB / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8467, allocations: 386.7 kB / 1.116 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.8472, allocations: 277.8 kB / 1.116 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.8478, allocations: 359.1 kB / 1.117 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.8489, allocations: 0.6112 MB / 1.117 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8489, allocations: 0 / 1.117 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001914/0.8508, allocations: 0.8488 MB / 1.118 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.8508, allocations: 4 kB / 1.118 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8509, allocations: 4 kB / 1.118 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.8515, allocations: 84.81 kB / 1.118 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.8521, allocations: 155.8 kB / 1.118 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.8542, allocations: 1.532 MB / 1.12 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.855, allocations: 87.36 kB / 1.12 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.8551, allocations: 39.97 kB / 1.12 GB, free: 1.898 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005211/0.8556, allocations: 263.5 kB / 1.12 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.8559, allocations: 90.89 kB / 1.12 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.8583, allocations: 1.062 MB / 1.121 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.8583, allocations: 8 kB / 1.121 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.8583, allocations: 0 / 1.121 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8583, allocations: 3.984 kB / 1.121 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.8616, allocations: 1.953 MB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.8616, allocations: 4 kB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.8622, allocations: 143.8 kB / 1.123 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005232/0.8627, allocations: 80.78 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.8628, allocations: 27.97 kB / 1.124 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.8646, allocations: 1.555 MB / 1.125 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8647, allocations: 0 / 1.125 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.8667, allocations: 0.9961 MB / 1.126 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.867, allocations: 271.8 kB / 1.126 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.8672, allocations: 23.98 kB / 1.126 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.8678, allocations: 71.81 kB / 1.126 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.8679, allocations: 68.89 kB / 1.126 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.868, allocations: 27.98 kB / 1.126 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005385/0.8686, allocations: 455 kB / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8686, allocations: 0 / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008099/0.8694, allocations: 307.3 kB / 1.127 GB, free: 10.27 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001288/0.8707, allocations: 0.6055 MB / 1.128 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.8722, allocations: 0.8314 MB / 1.129 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8723, allocations: 0 / 1.129 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.8732, allocations: 0.5119 MB / 1.129 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.8743, allocations: 269.7 kB / 1.129 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.878, allocations: 2.16 MB / 1.131 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.8786, allocations: 1.016 MB / 1.132 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008023/0.8794, allocations: 258.5 kB / 1.133 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.8797, allocations: 111.4 kB / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/0.8797, allocations: 0 / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of Templates: time 0.02295/0.9026, allocations: 14.1 MB / 1.147 GB, free: 6.664 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches