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.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.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.001212/0.001212, allocations: 109.3 kB / 15.7 MB, free: 128 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.001368/0.001368, allocations: 197.1 kB / 16.63 MB, free: 6.613 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.433/1.433, allocations: 222.9 MB / 240.3 MB, free: 4.359 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.471/2.471, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 66.66 kB / 0.9509 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3566, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007706/0.3644, allocations: 5.34 MB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.203/0.5675, allocations: 151 MB / 1.241 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.5689, allocations: 23.88 kB / 1.241 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.5703, allocations: 198 kB / 1.241 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.5744, allocations: 0.6295 MB / 1.241 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.5782, allocations: 1.007 MB / 1.242 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.5816, allocations: 1.81 MB / 1.244 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.5838, allocations: 1.16 MB / 1.245 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.5854, allocations: 0.7785 MB / 1.246 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.5867, allocations: 0.8362 MB / 1.247 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.5871, allocations: 216 kB / 1.247 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.5883, allocations: 0.5739 MB / 1.248 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005545/0.5889, allocations: 486.5 kB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.5901, allocations: 0.9173 MB / 1.249 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.594, allocations: 2.574 MB / 1.252 GB, free: 9.383 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.594, allocations: 4 kB / 1.252 GB, free: 9.379 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.594, allocations: 0 / 1.252 GB, free: 9.379 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.81e-05/0.594, allocations: 0 / 1.252 GB, free: 9.379 MB / 1.014 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.005324/0.5994, allocations: 2.002 MB / 1.253 GB, free: 7.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5994, allocations: 12.03 kB / 1.253 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.601, allocations: 254.6 kB / 1.254 GB, free: 7.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.6033, allocations: 0.9929 MB / 1.255 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.6035, allocations: 148.8 kB / 1.255 GB, free: 5.871 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.6038, allocations: 148 kB / 1.255 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.6079, allocations: 1.596 MB / 1.257 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.6079, allocations: 7.938 kB / 1.257 GB, free: 4.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.6082, allocations: 64 kB / 1.257 GB, free: 4.004 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.6082, allocations: 36 kB / 1.257 GB, free: 3.969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.6124, allocations: 1.596 MB / 1.258 GB, free: 2.367 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6223/1.235, allocations: 4.17 MB / 1.262 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/1.237, allocations: 1.094 MB / 1.263 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/1.238, allocations: 432.9 kB / 1.264 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/1.238, allocations: 43.56 kB / 1.264 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/1.239, allocations: 0.6993 MB / 1.264 GB, free: 171.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=111): time 4.198e-06/1.239, allocations: 3.938 kB / 1.264 GB, free: 171.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=111): time 0.004564/1.244, allocations: 1.649 MB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/1.244, allocations: 193.8 kB / 1.266 GB, free: 170.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.245, allocations: 0.8426 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.246, allocations: 49.41 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/1.246, allocations: 0.617 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/1.246, allocations: 364.8 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/1.247, allocations: 224.9 kB / 1.268 GB, free: 169.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/1.247, allocations: 349.2 kB / 1.269 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/1.248, allocations: 395.6 kB / 1.269 GB, free: 168.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.249, allocations: 0.5051 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.251, allocations: 0.885 MB / 1.27 GB, free: 167.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.251, allocations: 1.875 kB / 1.27 GB, free: 167.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0037/1.254, allocations: 1.205 MB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/1.254, allocations: 5.406 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.254, allocations: 2.016 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007659/1.255, allocations: 86.11 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.256, allocations: 229.8 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/1.258, allocations: 1.644 MB / 1.273 GB, free: 165.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.26, allocations: 132.6 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.26, allocations: 53.91 kB / 1.274 GB, free: 165.8 MB / 1.014 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.0008114/1.261, allocations: 361.8 kB / 1.274 GB, free: 165.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/1.261, allocations: 108.9 kB / 1.274 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/1.264, allocations: 1.526 MB / 1.276 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.264, allocations: 14.91 kB / 1.276 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.264, allocations: 2.266 kB / 1.276 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.264, allocations: 5.719 kB / 1.276 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/1.267, allocations: 1.372 MB / 1.277 GB, free: 164.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.267, allocations: 2.562 kB / 1.277 GB, free: 164.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/1.267, allocations: 204.4 kB / 1.277 GB, free: 164.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/1.268, allocations: 70.31 kB / 1.277 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/1.268, allocations: 35 kB / 1.277 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/1.27, allocations: 1.669 MB / 1.279 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.27, allocations: 1.484 kB / 1.279 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/1.273, allocations: 1.281 MB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/1.273, allocations: 361.1 kB / 1.28 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/1.274, allocations: 37.41 kB / 1.281 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/1.275, allocations: 80.64 kB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/1.275, allocations: 94.88 kB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.275, allocations: 57.12 kB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008941/1.276, allocations: 0.6168 MB / 1.281 GB, free: 161.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.276, allocations: 1.281 kB / 1.281 GB, free: 161.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001304/1.277, allocations: 447.4 kB / 1.282 GB, free: 161.4 MB / 1.014 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.001363/1.279, allocations: 0.6175 MB / 1.282 GB, free: 161.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002555/1.281, allocations: 1.154 MB / 1.283 GB, free: 160.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.281, allocations: 1.125 kB / 1.283 GB, free: 160.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/1.282, allocations: 0.6799 MB / 1.284 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.284, allocations: 318.8 kB / 1.284 GB, free: 160.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/1.289, allocations: 2.571 MB / 1.287 GB, free: 159.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/1.29, allocations: 1.22 MB / 1.288 GB, free: 158.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001175/1.291, allocations: 313 kB / 1.288 GB, free: 158.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/1.292, allocations: 148 kB / 1.289 GB, free: 158.2 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.292, allocations: 0 / 1.289 GB, free: 158.2 MB / 1.014 GB Notification: Performance of Templates: time 0.0373/1.329, allocations: 19.51 MB / 1.308 GB, free: 151 MB / 1.014 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