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.001414/0.001414, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001389/0.001389, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.175/2.175, allocations: 390.3 MB / 0.665 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.83 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2695, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006882/0.2765, allocations: 5.325 MB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.656/0.9325, allocations: 148.7 MB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.9337, allocations: 19.97 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.9344, allocations: 154.3 kB / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.9367, allocations: 0.5623 MB / 1.101 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.9391, allocations: 0.9143 MB / 1.102 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.9414, allocations: 1.795 MB / 1.104 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.9431, allocations: 1.166 MB / 1.105 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.9444, allocations: 0.7711 MB / 1.105 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.9456, allocations: 0.843 MB / 1.106 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.9459, allocations: 218.8 kB / 1.106 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.9473, allocations: 0.5484 MB / 1.107 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.9478, allocations: 492.8 kB / 1.107 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.9488, allocations: 0.9133 MB / 1.108 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.9516, allocations: 1.965 MB / 1.11 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9516, allocations: 0 / 1.11 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9516, allocations: 0.6094 kB / 1.11 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.075e-05/0.9517, allocations: 4 kB / 1.11 GB, free: 3.711 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004307/0.956, allocations: 1.994 MB / 1.112 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.956, allocations: 10.03 kB / 1.112 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.9572, allocations: 257.7 kB / 1.113 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.9587, allocations: 0.9731 MB / 1.113 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.9588, allocations: 147.8 kB / 1.114 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.959, allocations: 154.1 kB / 1.114 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.9619, allocations: 1.588 MB / 1.115 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.962, allocations: 0 / 1.115 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.9621, allocations: 70.45 kB / 1.115 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.9622, allocations: 39.39 kB / 1.115 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.9648, allocations: 1.597 MB / 1.117 GB, free: 18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006722/0.9716, allocations: 4.24 MB / 1.121 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.9736, allocations: 1.095 MB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.9743, allocations: 432.6 kB / 1.123 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.9745, allocations: 46.62 kB / 1.123 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/0.9757, allocations: 0.6964 MB / 1.123 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 3.025e-06/0.9757, allocations: 1 kB / 1.123 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.003961/0.9797, allocations: 1.645 MB / 1.125 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9798, allocations: 199.8 kB / 1.125 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.9811, allocations: 0.8426 MB / 1.126 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.9813, allocations: 53.14 kB / 1.126 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.9818, allocations: 0.6164 MB / 1.127 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.9821, allocations: 355.9 kB / 1.127 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.9824, allocations: 223.7 kB / 1.127 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9826, allocations: 348 kB / 1.127 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.9833, allocations: 398.4 kB / 1.128 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.9841, allocations: 0.5115 MB / 1.128 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.9855, allocations: 0.8817 MB / 1.129 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9856, allocations: 1.469 kB / 1.129 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00298/0.9885, allocations: 1.205 MB / 1.13 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.9886, allocations: 5.406 kB / 1.13 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.9886, allocations: 0.9062 kB / 1.13 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006644/0.9893, allocations: 84.38 kB / 1.13 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.9904, allocations: 234.5 kB / 1.131 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.9928, allocations: 1.652 MB / 1.132 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.9942, allocations: 131 kB / 1.132 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.9943, allocations: 49.17 kB / 1.132 GB, free: 13.56 MB / 0.8731 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.0009537/0.9953, allocations: 348.6 kB / 1.133 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.9957, allocations: 118.4 kB / 1.133 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.9994, allocations: 1.533 MB / 1.134 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.9994, allocations: 13.44 kB / 1.134 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9994, allocations: 1.203 kB / 1.134 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.9995, allocations: 6.094 kB / 1.134 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/1.002, allocations: 1.369 MB / 1.136 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.002, allocations: 0 / 1.136 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/1.003, allocations: 198.8 kB / 1.136 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/1.003, allocations: 74.23 kB / 1.136 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.003, allocations: 35.12 kB / 1.136 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.005, allocations: 1.683 MB / 1.138 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.006, allocations: 3.938 kB / 1.138 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/1.009, allocations: 1.28 MB / 1.139 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007731/1.01, allocations: 361.1 kB / 1.139 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/1.01, allocations: 35.59 kB / 1.139 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.011, allocations: 76.56 kB / 1.139 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.011, allocations: 103.8 kB / 1.14 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.011, allocations: 49.5 kB / 1.14 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001192/1.013, allocations: 0.6129 MB / 1.14 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.013, allocations: 1.031 kB / 1.14 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0017/1.014, allocations: 450.6 kB / 1.141 GB, free: 9.672 MB / 0.8731 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.001689/1.016, allocations: 0.6154 MB / 1.141 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004034/1.02, allocations: 1.432 MB / 1.143 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.02, allocations: 1.203 kB / 1.143 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/1.021, allocations: 0.6842 MB / 1.143 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.024, allocations: 325.5 kB / 1.144 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/1.03, allocations: 3.337 MB / 1.147 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.032, allocations: 1.22 MB / 1.148 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/1.033, allocations: 159.8 kB / 1.148 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/1.033, allocations: 0 / 1.148 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of Templates: time 0.0378/1.07, allocations: 26.77 MB / 1.174 GB, free: 9.348 MB / 0.8887 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches