Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, 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.00188/0.00188, allocations: 196 kB / 16.14 MB, free: 6.719 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.364/2.364, allocations: 390.2 MB / 0.6642 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.8118 GB, free: 14.94 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7247, allocations: 140.3 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006027/0.7308, allocations: 5.337 MB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1822/0.9131, allocations: 148.6 MB / 1.099 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.9146, allocations: 23.88 kB / 1.099 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.9154, allocations: 154.8 kB / 1.099 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.9178, allocations: 0.535 MB / 1.1 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.9205, allocations: 0.8842 MB / 1.101 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.9225, allocations: 1.677 MB / 1.102 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.924, allocations: 1.124 MB / 1.104 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009657/0.9249, allocations: 0.6652 MB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.9257, allocations: 0.7737 MB / 1.105 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.9259, allocations: 116 kB / 1.105 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009757/0.9269, allocations: 459.6 kB / 1.106 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.9273, allocations: 386.5 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007911/0.9281, allocations: 0.812 MB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.9305, allocations: 2.434 MB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9305, allocations: 0 / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9305, allocations: 3.938 kB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.9306, allocations: 4 kB / 1.109 GB, free: 13.52 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0038/0.9344, allocations: 1.99 MB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9344, allocations: 11.97 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.9355, allocations: 254.6 kB / 1.111 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.9369, allocations: 0.9811 MB / 1.112 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.9371, allocations: 140.8 kB / 1.112 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.9372, allocations: 148 kB / 1.112 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.9401, allocations: 1.589 MB / 1.114 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.9401, allocations: 0 / 1.114 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.9403, allocations: 75.91 kB / 1.114 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.9403, allocations: 40 kB / 1.114 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.9431, allocations: 1.592 MB / 1.116 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.9505, allocations: 4.249 MB / 1.12 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.9526, allocations: 1.09 MB / 1.121 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.9534, allocations: 435.6 kB / 1.121 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.9535, allocations: 41.02 kB / 1.121 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.9549, allocations: 0.7036 MB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=111): time 3.446e-06/0.9549, allocations: 0 / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111): time 0.00411/0.959, allocations: 1.649 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9592, allocations: 204.8 kB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.9604, allocations: 0.8337 MB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.9606, allocations: 49.7 kB / 1.125 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/0.9611, allocations: 0.6167 MB / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.9615, allocations: 362.9 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.9618, allocations: 218.8 kB / 1.126 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.962, allocations: 357.9 kB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.9628, allocations: 394.4 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/0.9637, allocations: 0.5033 MB / 1.127 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.9654, allocations: 0.8877 MB / 1.128 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9654, allocations: 0 / 1.128 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002842/0.9682, allocations: 1.203 MB / 1.129 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9683, allocations: 4 kB / 1.129 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.9683, allocations: 12.06 kB / 1.129 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.9689, allocations: 80.77 kB / 1.129 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009923/0.9699, allocations: 231.7 kB / 1.129 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.972, allocations: 1.544 MB / 1.131 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.9731, allocations: 135 kB / 1.131 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.9732, allocations: 47.95 kB / 1.131 GB, free: 6.34 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006741/0.9739, allocations: 356.2 kB / 1.131 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.9742, allocations: 110.6 kB / 1.132 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.9776, allocations: 1.539 MB / 1.133 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.9776, allocations: 12 kB / 1.133 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9776, allocations: 0 / 1.133 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.9776, allocations: 7.969 kB / 1.133 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.9793, allocations: 1.361 MB / 1.134 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9794, allocations: 4 kB / 1.134 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.9802, allocations: 195.6 kB / 1.135 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005489/0.9808, allocations: 84.78 kB / 1.135 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.9809, allocations: 35.97 kB / 1.135 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.9828, allocations: 1.563 MB / 1.136 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9828, allocations: 4 kB / 1.136 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.9855, allocations: 1.281 MB / 1.138 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.9861, allocations: 351.3 kB / 1.138 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.9862, allocations: 39.83 kB / 1.138 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.9871, allocations: 85.62 kB / 1.138 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.9873, allocations: 101 kB / 1.138 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.9874, allocations: 51.91 kB / 1.138 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008848/0.9883, allocations: 0.6213 MB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9883, allocations: 0 / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001157/0.9895, allocations: 450.5 kB / 1.139 GB, free: 13.86 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.991, allocations: 0.6055 MB / 1.14 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.9935, allocations: 1.142 MB / 1.141 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9935, allocations: 4 kB / 1.141 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.9947, allocations: 0.6776 MB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9959, allocations: 295.9 kB / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/1.002, allocations: 3.288 MB / 1.145 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/1.002, allocations: 1.216 MB / 1.146 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001184/1.004, allocations: 317 kB / 1.147 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/1.004, allocations: 143.4 kB / 1.147 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/1.004, allocations: 4 kB / 1.147 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.03496/1.039, allocations: 18.64 MB / 1.165 GB, free: 3.793 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches