Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009857, allocations: 98.88 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.0008945/0.0008946, allocations: 185.2 kB / 16.92 MB, free: 6.684 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.336 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.489/2.489, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003716, allocations: 8.281 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7342, allocations: 142.4 MB / 0.9557 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004343/0.7386, allocations: 3.885 MB / 0.9595 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1604/0.8991, allocations: 146.6 MB / 1.103 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.9002, allocations: 11.94 kB / 1.103 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.9009, allocations: 135 kB / 1.103 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.9028, allocations: 438.7 kB / 1.103 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.9048, allocations: 0.7074 MB / 1.104 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.9065, allocations: 1.191 MB / 1.105 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.9076, allocations: 0.5824 MB / 1.106 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.9083, allocations: 330.4 kB / 1.106 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.9089, allocations: 369.9 kB / 1.106 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.9091, allocations: 24 kB / 1.106 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.9101, allocations: 367.6 kB / 1.107 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.9103, allocations: 183.1 kB / 1.107 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.911, allocations: 446.9 kB / 1.107 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.9125, allocations: 1.142 MB / 1.108 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9125, allocations: 0 / 1.108 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9125, allocations: 4 kB / 1.108 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.712e-05/0.9125, allocations: 0 / 1.108 GB, free: 2.402 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002742/0.9153, allocations: 1.19 MB / 1.11 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.9153, allocations: 8.031 kB / 1.11 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.9164, allocations: 195.4 kB / 1.11 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.9176, allocations: 0.7383 MB / 1.111 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/0.9177, allocations: 66 kB / 1.111 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.9179, allocations: 83.98 kB / 1.111 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.9196, allocations: 0.9028 MB / 1.112 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.9197, allocations: 3.938 kB / 1.112 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.9198, allocations: 36 kB / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.9198, allocations: 20 kB / 1.112 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.9216, allocations: 1.104 MB / 1.113 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.926, allocations: 2.5 MB / 1.115 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.9276, allocations: 0.8694 MB / 1.116 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.9282, allocations: 298.7 kB / 1.116 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.9283, allocations: 28.61 kB / 1.116 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009973/0.9293, allocations: 0.4912 MB / 1.117 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.897e-06/0.9293, allocations: 0 / 1.117 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003219/0.9325, allocations: 1.186 MB / 1.118 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9327, allocations: 192.6 kB / 1.118 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.9335, allocations: 0.6291 MB / 1.119 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.9336, allocations: 41.7 kB / 1.119 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.934, allocations: 392.4 kB / 1.119 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.9342, allocations: 256.3 kB / 1.119 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.9343, allocations: 65.69 kB / 1.119 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.9345, allocations: 386.7 kB / 1.12 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.9351, allocations: 265.9 kB / 1.12 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.9357, allocations: 359.1 kB / 1.12 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.9368, allocations: 0.6033 MB / 1.121 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9368, allocations: 0 / 1.121 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001907/0.9387, allocations: 0.8487 MB / 1.122 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.9388, allocations: 9.656 kB / 1.122 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.9388, allocations: 0 / 1.122 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.9394, allocations: 88.77 kB / 1.122 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.9401, allocations: 159.8 kB / 1.122 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.9421, allocations: 1.516 MB / 1.124 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.9429, allocations: 103.3 kB / 1.124 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.943, allocations: 31.98 kB / 1.124 GB, free: 2.258 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.0004842/0.9435, allocations: 271.4 kB / 1.124 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.9437, allocations: 83 kB / 1.124 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.9461, allocations: 1.069 MB / 1.125 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.9461, allocations: 11.94 kB / 1.125 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9461, allocations: 0 / 1.125 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.9461, allocations: 7.969 kB / 1.125 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.9494, allocations: 1.907 MB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.9494, allocations: 0 / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.95, allocations: 147.8 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/0.9505, allocations: 88.7 kB / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.9506, allocations: 23.98 kB / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.9525, allocations: 1.552 MB / 1.129 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9525, allocations: 0 / 1.129 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.9545, allocations: 0.9921 MB / 1.13 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.955, allocations: 275.7 kB / 1.13 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.9552, allocations: 20.06 kB / 1.13 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.9559, allocations: 89.89 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9561, allocations: 68.84 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/0.9561, allocations: 35.97 kB / 1.13 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006901/0.9568, allocations: 451 kB / 1.131 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9569, allocations: 0 / 1.131 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009373/0.9578, allocations: 307.2 kB / 1.131 GB, free: 10.64 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.001512/0.9593, allocations: 0.5994 MB / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.9611, allocations: 0.8273 MB / 1.132 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.9611, allocations: 0 / 1.132 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009582/0.9621, allocations: 0.516 MB / 1.133 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.9635, allocations: 259.6 kB / 1.133 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.9679, allocations: 2.223 MB / 1.135 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.9686, allocations: 1.02 MB / 1.136 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.969, allocations: 119.3 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of SimCode: time 5.61e-07/0.969, allocations: 0 / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of Templates: time 0.02636/0.9953, allocations: 17.96 MB / 1.154 GB, free: 3.266 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches