Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002557/0.002557, allocations: 190.8 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.425/2.425, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7094, allocations: 140.4 MB / 0.9489 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005876/0.7153, allocations: 4.742 MB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.8907, allocations: 148.4 MB / 1.098 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.8919, allocations: 19.88 kB / 1.098 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.8925, allocations: 154.8 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.8942, allocations: 462.4 kB / 1.099 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.8965, allocations: 0.739 MB / 1.1 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.8979, allocations: 1.347 MB / 1.101 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.899, allocations: 0.9042 MB / 1.102 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.8997, allocations: 0.5057 MB / 1.102 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006292/0.9004, allocations: 0.5882 MB / 1.103 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.9005, allocations: 88 kB / 1.103 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.9016, allocations: 427.6 kB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.9019, allocations: 310.8 kB / 1.104 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.9026, allocations: 0.6292 MB / 1.104 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.9046, allocations: 1.861 MB / 1.106 GB, free: 376 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.9046, allocations: 4 kB / 1.106 GB, free: 372 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9046, allocations: 0 / 1.106 GB, free: 372 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.9046, allocations: 0 / 1.106 GB, free: 372 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002948/0.9076, allocations: 1.678 MB / 1.108 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.9076, allocations: 12.03 kB / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.9086, allocations: 215 kB / 1.108 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.9099, allocations: 0.852 MB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.91, allocations: 86.41 kB / 1.109 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.9101, allocations: 124 kB / 1.109 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.9123, allocations: 1.202 MB / 1.11 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.9123, allocations: 3.938 kB / 1.11 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.9124, allocations: 51.94 kB / 1.11 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.9125, allocations: 35.92 kB / 1.11 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.9146, allocations: 1.281 MB / 1.112 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.9196, allocations: 3.152 MB / 1.115 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.9212, allocations: 0.8589 MB / 1.116 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.9218, allocations: 322.6 kB / 1.116 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.9218, allocations: 36.59 kB / 1.116 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009767/0.9228, allocations: 0.5119 MB / 1.116 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.9228, allocations: 4 kB / 1.116 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003424/0.9263, allocations: 1.278 MB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.9264, allocations: 192.9 kB / 1.118 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.9273, allocations: 0.7391 MB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.9274, allocations: 41.7 kB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.9278, allocations: 0.5154 MB / 1.119 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.928, allocations: 283.9 kB / 1.119 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.9283, allocations: 174.5 kB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9284, allocations: 337.9 kB / 1.12 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.929, allocations: 293.8 kB / 1.12 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.9297, allocations: 383.2 kB / 1.121 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.9309, allocations: 0.667 MB / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9309, allocations: 0 / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002123/0.933, allocations: 0.9228 MB / 1.122 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.9331, allocations: 7.984 kB / 1.122 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.9331, allocations: 3.938 kB / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/0.9337, allocations: 80.88 kB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.9345, allocations: 175.8 kB / 1.122 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.9365, allocations: 1.52 MB / 1.124 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/0.9373, allocations: 101.1 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.9374, allocations: 39.97 kB / 1.124 GB, free: 13.67 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005511/0.938, allocations: 303.4 kB / 1.124 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.9382, allocations: 90.88 kB / 1.124 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.9407, allocations: 1.122 MB / 1.125 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.9407, allocations: 12 kB / 1.125 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.9407, allocations: 3.938 kB / 1.125 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.9407, allocations: 11.91 kB / 1.125 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.942, allocations: 1.048 MB / 1.126 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.942, allocations: 0 / 1.126 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.9427, allocations: 155.8 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/0.9432, allocations: 84.77 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.9433, allocations: 27.98 kB / 1.127 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.9452, allocations: 1.544 MB / 1.128 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9452, allocations: 4.031 kB / 1.128 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.9473, allocations: 0.9785 MB / 1.129 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.9477, allocations: 287.6 kB / 1.129 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.9479, allocations: 23.91 kB / 1.129 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.9485, allocations: 63.94 kB / 1.13 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.9487, allocations: 76.83 kB / 1.13 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.9488, allocations: 39.97 kB / 1.13 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006707/0.9495, allocations: 0.5146 MB / 1.13 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.533e-06/0.9495, allocations: 0 / 1.13 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008715/0.9504, allocations: 358.8 kB / 1.131 GB, free: 6.699 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0014/0.9518, allocations: 0.611 MB / 1.131 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.9536, allocations: 0.8744 MB / 1.132 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9536, allocations: 4 kB / 1.132 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009608/0.9546, allocations: 0.5431 MB / 1.132 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.9559, allocations: 285.8 kB / 1.133 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.9603, allocations: 2.643 MB / 1.135 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.961, allocations: 1.102 MB / 1.136 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008906/0.9619, allocations: 279.3 kB / 1.137 GB, free: 480 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.9622, allocations: 111.4 kB / 1.137 GB, free: 368 kB / 0.8887 GB Notification: Performance of SimCode: time 1.002e-06/0.9622, allocations: 0 / 1.137 GB, free: 368 kB / 0.8887 GB Notification: Performance of Templates: time 0.02533/0.9875, allocations: 14.91 MB / 1.151 GB, free: 1.598 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches