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.001103/0.001103, allocations: 96.86 kB / 15.36 MB, free: 0.7305 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.001537/0.001537, allocations: 173.4 kB / 16.26 MB, free: 6.688 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.459/2.459, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003667, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/0.7095, allocations: 142.4 MB / 0.955 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004218/0.7137, allocations: 3.914 MB / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.888, allocations: 146.6 MB / 1.102 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.8888, allocations: 11.94 kB / 1.102 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.8894, allocations: 142.9 kB / 1.102 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.8908, allocations: 427.8 kB / 1.103 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.8926, allocations: 0.717 MB / 1.103 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.8938, allocations: 1.199 MB / 1.104 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008798/0.8947, allocations: 0.6034 MB / 1.105 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.8952, allocations: 334.3 kB / 1.105 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.8957, allocations: 371.5 kB / 1.106 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.8958, allocations: 28 kB / 1.106 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008089/0.8966, allocations: 367.6 kB / 1.106 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.8968, allocations: 187.1 kB / 1.106 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.8972, allocations: 462.8 kB / 1.107 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.8987, allocations: 1.472 MB / 1.108 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8987, allocations: 0 / 1.108 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8987, allocations: 0 / 1.108 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.8987, allocations: 0 / 1.108 GB, free: 1.91 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.002249/0.901, allocations: 1.2 MB / 1.109 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.901, allocations: 8.031 kB / 1.109 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.9019, allocations: 199.4 kB / 1.11 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.903, allocations: 0.7422 MB / 1.11 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.9031, allocations: 62 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.9032, allocations: 83.98 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9048, allocations: 0.9261 MB / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.9048, allocations: 0 / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.9049, allocations: 36 kB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.9049, allocations: 20 kB / 1.111 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.9068, allocations: 1.116 MB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.9107, allocations: 2.551 MB / 1.115 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.9123, allocations: 0.8949 MB / 1.116 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/0.9129, allocations: 302.7 kB / 1.116 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.198e-05/0.913, allocations: 36.59 kB / 1.116 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009328/0.9139, allocations: 495.2 kB / 1.117 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 4.97e-06/0.9139, allocations: 3.938 kB / 1.117 GB, free: 9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003128/0.917, allocations: 1.217 MB / 1.118 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.9172, allocations: 192.6 kB / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000947/0.9181, allocations: 0.6253 MB / 1.119 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.9182, allocations: 41.7 kB / 1.119 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.9187, allocations: 392.3 kB / 1.119 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.9189, allocations: 256.3 kB / 1.119 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9191, allocations: 69.62 kB / 1.119 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.9193, allocations: 386.7 kB / 1.12 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.9199, allocations: 281.8 kB / 1.12 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.9206, allocations: 363.1 kB / 1.12 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.9218, allocations: 0.6073 MB / 1.121 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.9218, allocations: 4 kB / 1.121 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002061/0.9239, allocations: 0.8566 MB / 1.122 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.9239, allocations: 5.562 kB / 1.122 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9239, allocations: 4 kB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.9246, allocations: 92.73 kB / 1.122 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.9252, allocations: 155.8 kB / 1.122 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.9274, allocations: 1.536 MB / 1.124 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.9281, allocations: 107.3 kB / 1.124 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.9282, allocations: 36.03 kB / 1.124 GB, free: 1.539 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.0004971/0.9287, allocations: 271.4 kB / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.9288, allocations: 83 kB / 1.124 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.9312, allocations: 1.077 MB / 1.125 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9313, allocations: 12 kB / 1.125 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9313, allocations: 0 / 1.125 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.9313, allocations: 3.984 kB / 1.125 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.9346, allocations: 1.957 MB / 1.127 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9346, allocations: 0 / 1.127 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.9352, allocations: 143.8 kB / 1.127 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.9358, allocations: 80.78 kB / 1.127 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.9359, allocations: 27.97 kB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.9377, allocations: 1.563 MB / 1.129 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.9378, allocations: 0 / 1.129 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.9398, allocations: 0.9999 MB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.9402, allocations: 283.8 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9403, allocations: 23.98 kB / 1.13 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006816/0.941, allocations: 84.48 kB / 1.13 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.9411, allocations: 72.89 kB / 1.13 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.9412, allocations: 35.98 kB / 1.13 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005594/0.9418, allocations: 451 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9418, allocations: 4 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008793/0.9427, allocations: 303.3 kB / 1.131 GB, free: 9.844 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.001498/0.9442, allocations: 0.6185 MB / 1.132 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.9459, allocations: 0.8313 MB / 1.132 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9459, allocations: 192 / 1.132 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009288/0.9469, allocations: 0.5275 MB / 1.133 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.9482, allocations: 262.1 kB / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.9524, allocations: 2.211 MB / 1.135 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.9531, allocations: 1.02 MB / 1.136 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008387/0.9539, allocations: 262.4 kB / 1.136 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.9542, allocations: 103.3 kB / 1.137 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/0.9542, allocations: 0 / 1.137 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of Templates: time 0.02396/0.9782, allocations: 14.01 MB / 1.15 GB, free: 6.266 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