Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001522/0.001522, allocations: 100.1 kB / 15.88 MB, free: 12 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.002022/0.002022, allocations: 198.3 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6816, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009865/0.6915, allocations: 7.045 MB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.8634, allocations: 148.8 MB / 1.169 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.8652, allocations: 19.94 kB / 1.169 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.8664, allocations: 206.4 kB / 1.17 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.8695, allocations: 0.6682 MB / 1.17 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.8722, allocations: 0.8897 MB / 1.171 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.8751, allocations: 1.948 MB / 1.173 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.8771, allocations: 1.067 MB / 1.174 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.8784, allocations: 0.7081 MB / 1.175 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.8798, allocations: 0.8244 MB / 1.176 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004924/0.8803, allocations: 116 kB / 1.176 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.8817, allocations: 455.6 kB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005967/0.8823, allocations: 394.5 kB / 1.177 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.8836, allocations: 0.8666 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.886, allocations: 2.011 MB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.886, allocations: 3.984 kB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.203e-06/0.886, allocations: 0 / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.484e-05/0.8861, allocations: 0 / 1.179 GB, free: 12.11 MB / 0.9356 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.005006/0.8912, allocations: 2.041 MB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8912, allocations: 8.031 kB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.8923, allocations: 258.5 kB / 1.182 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.8938, allocations: 0.9734 MB / 1.183 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.894, allocations: 144.8 kB / 1.183 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.8942, allocations: 148 kB / 1.183 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.8969, allocations: 1.589 MB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.897, allocations: 3.938 kB / 1.184 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.8971, allocations: 67.98 kB / 1.184 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.8972, allocations: 40 kB / 1.185 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.8997, allocations: 1.592 MB / 1.186 GB, free: 5.086 MB / 0.9356 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.007324/0.907, allocations: 4.736 MB / 1.191 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.9091, allocations: 1.1 MB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.9098, allocations: 427.7 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.9099, allocations: 45 kB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.9113, allocations: 0.7001 MB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.805e-06/0.9113, allocations: 0 / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004146/0.9154, allocations: 1.657 MB / 1.195 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.9156, allocations: 196.9 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.9168, allocations: 0.8414 MB / 1.196 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.9169, allocations: 49.7 kB / 1.196 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.9175, allocations: 0.6167 MB / 1.196 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.9178, allocations: 362.9 kB / 1.197 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.9181, allocations: 222.7 kB / 1.197 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9183, allocations: 353.9 kB / 1.197 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/0.9191, allocations: 398.4 kB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/0.92, allocations: 0.511 MB / 1.198 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.9215, allocations: 0.8877 MB / 1.199 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.9216, allocations: 4 kB / 1.199 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002711/0.9243, allocations: 1.207 MB / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.9243, allocations: 4.125 kB / 1.2 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9243, allocations: 15.88 kB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.925, allocations: 80.77 kB / 1.2 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.9259, allocations: 227.7 kB / 1.2 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.9281, allocations: 1.551 MB / 1.202 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.9292, allocations: 143 kB / 1.202 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.9294, allocations: 51.95 kB / 1.202 GB, free: 4.23 MB / 0.9512 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.0007288/0.9301, allocations: 355.1 kB / 1.202 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.9304, allocations: 106.7 kB / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.9337, allocations: 1.536 MB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.9337, allocations: 16 kB / 1.204 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9337, allocations: 0 / 1.204 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.9337, allocations: 7.969 kB / 1.204 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.9357, allocations: 1.373 MB / 1.205 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9357, allocations: 0 / 1.205 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.9366, allocations: 203.6 kB / 1.206 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.9371, allocations: 80.78 kB / 1.206 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.9372, allocations: 35.97 kB / 1.206 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.9391, allocations: 1.559 MB / 1.207 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9392, allocations: 0 / 1.207 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.9419, allocations: 1.285 MB / 1.208 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.9425, allocations: 359.2 kB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.9427, allocations: 35.89 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.9436, allocations: 87.97 kB / 1.209 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.9439, allocations: 109.1 kB / 1.209 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.944, allocations: 47.97 kB / 1.209 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008873/0.9449, allocations: 0.6135 MB / 1.21 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9449, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001227/0.9461, allocations: 482.4 kB / 1.21 GB, free: 11.71 MB / 0.9669 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.00145/0.9476, allocations: 0.6245 MB / 1.211 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.9499, allocations: 1.142 MB / 1.212 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9499, allocations: 256 / 1.212 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.9512, allocations: 0.6738 MB / 1.212 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.9527, allocations: 324.4 kB / 1.213 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.9578, allocations: 3.238 MB / 1.216 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.9588, allocations: 1.216 MB / 1.217 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/0.9594, allocations: 159.3 kB / 1.217 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of SimCode: time 1.062e-06/0.9594, allocations: 0 / 1.217 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.04039/0.9998, allocations: 27.29 MB / 1.244 GB, free: 9.223 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches