Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001375/0.001376, allocations: 199.5 kB / 16.26 MB, free: 6.625 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.682/1.682, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.829/2.829, allocations: 461.9 MB / 0.7343 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 66.16 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.294, allocations: 157.4 MB / 1.052 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008879/0.3029, allocations: 7.029 MB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.4724, allocations: 148.9 MB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.4742, allocations: 15.94 kB / 1.205 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.4754, allocations: 194.4 kB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.4791, allocations: 0.6934 MB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.4821, allocations: 0.9173 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003488/0.4856, allocations: 2.081 MB / 1.208 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.4882, allocations: 1.099 MB / 1.209 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4896, allocations: 0.8253 MB / 1.21 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.4913, allocations: 0.8831 MB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007761/0.4921, allocations: 220 kB / 1.211 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.4938, allocations: 0.5543 MB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007455/0.4945, allocations: 490.5 kB / 1.212 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.4962, allocations: 0.972 MB / 1.213 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.5001, allocations: 2.617 MB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5001, allocations: 0 / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5001, allocations: 0 / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001062/0.5002, allocations: 0 / 1.216 GB, free: 0.6602 MB / 0.9669 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.004611/0.5048, allocations: 2.045 MB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5049, allocations: 8.625 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.506, allocations: 262.5 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.5075, allocations: 0.9772 MB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5077, allocations: 144.8 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.5079, allocations: 152 kB / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.5106, allocations: 1.593 MB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.5106, allocations: 3.984 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.5108, allocations: 63.98 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.5108, allocations: 40 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.5135, allocations: 1.592 MB / 1.223 GB, free: 9.617 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007597/0.5212, allocations: 4.727 MB / 1.227 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.5232, allocations: 1.101 MB / 1.228 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.5239, allocations: 427.7 kB / 1.229 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.524, allocations: 45 kB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.5253, allocations: 0.6997 MB / 1.229 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 3.467e-06/0.5253, allocations: 4 kB / 1.229 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.004051/0.5294, allocations: 1.653 MB / 1.231 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5295, allocations: 196.9 kB / 1.231 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5307, allocations: 0.8453 MB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.5308, allocations: 49.7 kB / 1.232 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.5313, allocations: 0.6129 MB / 1.233 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.5316, allocations: 358.9 kB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.532, allocations: 222.7 kB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5322, allocations: 357.9 kB / 1.234 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.5329, allocations: 402.4 kB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.5338, allocations: 0.5033 MB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.5353, allocations: 0.8916 MB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5353, allocations: 0 / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002621/0.538, allocations: 1.207 MB / 1.236 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.538, allocations: 8 kB / 1.236 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.538, allocations: 0 / 1.236 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/0.5387, allocations: 88.77 kB / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/0.5397, allocations: 235.7 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.5421, allocations: 1.656 MB / 1.238 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.5434, allocations: 150.8 kB / 1.239 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.5435, allocations: 47.95 kB / 1.239 GB, free: 8.672 MB / 0.9981 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.0009427/0.5445, allocations: 352.2 kB / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.5449, allocations: 110.6 kB / 1.239 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.5484, allocations: 1.536 MB / 1.241 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5485, allocations: 12 kB / 1.241 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5485, allocations: 0 / 1.241 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5485, allocations: 3.984 kB / 1.241 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.5507, allocations: 1.376 MB / 1.242 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.5507, allocations: 0 / 1.242 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/0.5516, allocations: 195.7 kB / 1.242 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.5521, allocations: 76.78 kB / 1.242 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5523, allocations: 35.97 kB / 1.242 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.5546, allocations: 1.677 MB / 1.244 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5546, allocations: 0 / 1.244 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.5575, allocations: 1.281 MB / 1.245 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/0.5582, allocations: 355.2 kB / 1.245 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.5585, allocations: 43.83 kB / 1.245 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.5596, allocations: 86.25 kB / 1.246 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.5599, allocations: 101.2 kB / 1.246 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.56, allocations: 51.95 kB / 1.246 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001175/0.5612, allocations: 0.6135 MB / 1.246 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.507e-06/0.5612, allocations: 0 / 1.246 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001852/0.5631, allocations: 486.4 kB / 1.247 GB, free: 40 kB / 0.9981 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.589/1.152, allocations: 0.6047 MB / 1.247 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004077/1.156, allocations: 1.443 MB / 1.249 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.156, allocations: 0.9688 kB / 1.249 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.157, allocations: 0.6804 MB / 1.249 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.159, allocations: 348.1 kB / 1.25 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/1.163, allocations: 3.193 MB / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/1.163, allocations: 1.224 MB / 1.254 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001014/1.164, allocations: 318.2 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.165, allocations: 144.6 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.165, allocations: 0 / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04652/1.211, allocations: 20.48 MB / 1.274 GB, free: 184.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches