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.001704/0.001704, allocations: 108.6 kB / 16.37 MB, free: 6.477 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.001589/0.001589, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.38 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00867/0.3429, allocations: 5.339 MB / 0.9563 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8488/1.192, allocations: 151 MB / 1.104 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/1.193, allocations: 19.25 kB / 1.104 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006969/1.194, allocations: 202.6 kB / 1.104 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/1.196, allocations: 0.634 MB / 1.105 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/1.199, allocations: 1.013 MB / 1.106 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003052/1.202, allocations: 1.8 MB / 1.107 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/1.204, allocations: 1.163 MB / 1.108 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/1.206, allocations: 0.7747 MB / 1.109 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/1.207, allocations: 0.8343 MB / 1.11 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000527/1.208, allocations: 217.6 kB / 1.11 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/1.21, allocations: 0.5805 MB / 1.111 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/1.21, allocations: 490.2 kB / 1.111 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/1.212, allocations: 0.913 MB / 1.112 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/1.216, allocations: 2.571 MB / 1.115 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.216, allocations: 1.094 kB / 1.115 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.947e-06/1.216, allocations: 0 / 1.115 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.728e-05/1.216, allocations: 3.938 kB / 1.115 GB, free: 3.664 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.005583/1.222, allocations: 2.003 MB / 1.117 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.222, allocations: 10.23 kB / 1.117 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.223, allocations: 252.2 kB / 1.117 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.225, allocations: 0.9993 MB / 1.118 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/1.225, allocations: 146.8 kB / 1.118 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/1.226, allocations: 154.5 kB / 1.118 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/1.229, allocations: 1.59 MB / 1.12 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/1.229, allocations: 0 / 1.12 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/1.229, allocations: 69.06 kB / 1.12 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/1.229, allocations: 37.97 kB / 1.12 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/1.232, allocations: 1.595 MB / 1.121 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00879/1.241, allocations: 4.176 MB / 1.125 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/1.243, allocations: 1.092 MB / 1.127 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/1.244, allocations: 431.5 kB / 1.127 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/1.244, allocations: 42.17 kB / 1.127 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.246, allocations: 0.7029 MB / 1.128 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 3.136e-06/1.246, allocations: 5.188 kB / 1.128 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.004447/1.25, allocations: 1.649 MB / 1.129 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.25, allocations: 199 kB / 1.129 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.252, allocations: 0.8396 MB / 1.13 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/1.252, allocations: 49.92 kB / 1.13 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/1.253, allocations: 0.6164 MB / 1.131 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/1.253, allocations: 356.7 kB / 1.131 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/1.253, allocations: 221.6 kB / 1.131 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.254, allocations: 350.8 kB / 1.132 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008048/1.254, allocations: 396.2 kB / 1.132 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/1.255, allocations: 0.5087 MB / 1.133 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.257, allocations: 0.8805 MB / 1.134 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.257, allocations: 1.438 kB / 1.134 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002803/1.26, allocations: 1.204 MB / 1.135 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.26, allocations: 7.406 kB / 1.135 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.26, allocations: 1.156 kB / 1.135 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/1.26, allocations: 90 kB / 1.135 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.261, allocations: 227.2 kB / 1.135 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.264, allocations: 1.65 MB / 1.137 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.265, allocations: 132.9 kB / 1.137 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.265, allocations: 49.83 kB / 1.137 GB, free: 12.94 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.0009853/1.266, allocations: 354 kB / 1.137 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/1.266, allocations: 111.4 kB / 1.137 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/1.27, allocations: 1.531 MB / 1.139 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.27, allocations: 12.38 kB / 1.139 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.27, allocations: 1.438 kB / 1.139 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/1.27, allocations: 6.562 kB / 1.139 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/1.272, allocations: 1.374 MB / 1.14 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.272, allocations: 2.531 kB / 1.14 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/1.273, allocations: 195.3 kB / 1.14 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.274, allocations: 76.03 kB / 1.14 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/1.274, allocations: 34.22 kB / 1.14 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/1.276, allocations: 1.677 MB / 1.142 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.276, allocations: 4 kB / 1.142 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/1.279, allocations: 1.282 MB / 1.143 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/1.28, allocations: 361.7 kB / 1.144 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/1.28, allocations: 35 kB / 1.144 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/1.281, allocations: 77.81 kB / 1.144 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.281, allocations: 98.92 kB / 1.144 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.281, allocations: 54.98 kB / 1.144 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001014/1.282, allocations: 0.6114 MB / 1.145 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.2e-07/1.282, allocations: 0 / 1.145 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00164/1.284, allocations: 449 kB / 1.145 GB, free: 8.496 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.001567/1.285, allocations: 0.621 MB / 1.146 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002707/1.288, allocations: 1.15 MB / 1.147 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.288, allocations: 9 kB / 1.147 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/1.29, allocations: 0.6846 MB / 1.147 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.291, allocations: 322.5 kB / 1.148 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/1.297, allocations: 2.568 MB / 1.15 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/1.298, allocations: 1.221 MB / 1.151 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001436/1.299, allocations: 308.5 kB / 1.152 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.3, allocations: 149 kB / 1.152 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of SimCode: time 1.283e-06/1.3, allocations: 2.875 kB / 1.152 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.04075/1.341, allocations: 19.51 MB / 1.171 GB, free: 12.46 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 -s cvode -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