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.001609/0.001609, allocations: 108 kB / 15.6 MB, free: 128 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.001962/0.001962, allocations: 196 kB / 16.53 MB, free: 6.672 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.293/2.293, allocations: 390.2 MB / 0.6646 GB, free: 388 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6165, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004927/0.6215, allocations: 4.309 MB / 0.9538 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.7907, allocations: 150.6 MB / 1.101 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.7917, allocations: 15.94 kB / 1.101 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.7924, allocations: 182.4 kB / 1.101 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.794, allocations: 0.4926 MB / 1.101 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.796, allocations: 0.8249 MB / 1.102 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.7973, allocations: 1.293 MB / 1.104 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.7982, allocations: 0.6255 MB / 1.104 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.7989, allocations: 474.3 kB / 1.105 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.7995, allocations: 499.2 kB / 1.105 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.7997, allocations: 120 kB / 1.105 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.8007, allocations: 455.6 kB / 1.106 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.801, allocations: 299 kB / 1.106 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.8015, allocations: 0.548 MB / 1.106 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.8033, allocations: 1.573 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8033, allocations: 0 / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8033, allocations: 0 / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.8034, allocations: 4 kB / 1.108 GB, free: 14.98 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002445/0.8058, allocations: 1.403 MB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.8059, allocations: 12.02 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.8068, allocations: 179.4 kB / 1.11 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.8078, allocations: 0.7422 MB / 1.11 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.8079, allocations: 65.94 kB / 1.11 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.808, allocations: 83.98 kB / 1.11 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.8095, allocations: 0.9183 MB / 1.111 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.8095, allocations: 0 / 1.111 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.8096, allocations: 40 kB / 1.111 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.8096, allocations: 23.94 kB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.8114, allocations: 1.104 MB / 1.112 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.8155, allocations: 2.52 MB / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.8171, allocations: 0.8917 MB / 1.116 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.8176, allocations: 302.7 kB / 1.116 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.8177, allocations: 28.61 kB / 1.116 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009421/0.8186, allocations: 0.4913 MB / 1.117 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 5.61e-06/0.8187, allocations: 0 / 1.117 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003122/0.8218, allocations: 1.194 MB / 1.118 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.8219, allocations: 188.6 kB / 1.118 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.8227, allocations: 0.6291 MB / 1.119 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.8228, allocations: 41.7 kB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.8231, allocations: 388.4 kB / 1.119 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.8234, allocations: 260.3 kB / 1.119 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.8236, allocations: 162.5 kB / 1.119 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.8238, allocations: 390.7 kB / 1.12 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.8244, allocations: 265.9 kB / 1.12 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.825, allocations: 367 kB / 1.12 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.8261, allocations: 0.5995 MB / 1.121 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8261, allocations: 3.938 kB / 1.121 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00199/0.8281, allocations: 0.8449 MB / 1.122 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.8281, allocations: 8 kB / 1.122 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8281, allocations: 64 / 1.122 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.8288, allocations: 92.8 kB / 1.122 GB, free: 408 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.8294, allocations: 163.7 kB / 1.122 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.8315, allocations: 1.638 MB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.8323, allocations: 87.36 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.8324, allocations: 35.97 kB / 1.124 GB, free: 14.33 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: 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.0004917/0.8329, allocations: 271.4 kB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.8331, allocations: 90.89 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.8355, allocations: 1.058 MB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8355, allocations: 8 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.8355, allocations: 3.938 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8355, allocations: 3.984 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.8387, allocations: 1.953 MB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8387, allocations: 0 / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.8393, allocations: 139.8 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.8398, allocations: 80.72 kB / 1.127 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.8399, allocations: 27.98 kB / 1.127 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.8418, allocations: 1.677 MB / 1.129 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8418, allocations: 0 / 1.129 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.8438, allocations: 0.9921 MB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.8442, allocations: 275.8 kB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.8444, allocations: 23.91 kB / 1.13 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/0.845, allocations: 62.59 kB / 1.13 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.8452, allocations: 64.91 kB / 1.13 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.8453, allocations: 39.97 kB / 1.13 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005873/0.8459, allocations: 451 kB / 1.131 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8459, allocations: 4 kB / 1.131 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009704/0.8469, allocations: 303.3 kB / 1.131 GB, free: 6.574 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.001437/0.8483, allocations: 0.6023 MB / 1.132 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.8507, allocations: 1.034 MB / 1.133 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8507, allocations: 0 / 1.133 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008911/0.8516, allocations: 0.5119 MB / 1.133 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.8529, allocations: 296.4 kB / 1.133 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.8567, allocations: 1.765 MB / 1.135 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.8573, allocations: 1.015 MB / 1.136 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008427/0.8581, allocations: 254.5 kB / 1.136 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.8584, allocations: 107.3 kB / 1.136 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/0.8584, allocations: 0 / 1.136 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of Templates: time 0.02617/0.8846, allocations: 14.73 MB / 1.151 GB, free: 2.543 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