Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00958/0.00958, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.002089/0.002089, allocations: 197 kB / 16.67 MB, free: 5.926 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.666/1.666, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 65.75 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2519, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007905/0.2599, allocations: 6.47 MB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.4105, allocations: 151.6 MB / 1.242 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.4119, allocations: 23.88 kB / 1.242 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.413, allocations: 265.3 kB / 1.242 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.4158, allocations: 0.7104 MB / 1.243 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.4191, allocations: 1.366 MB / 1.244 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003324/0.4224, allocations: 2.672 MB / 1.247 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.425, allocations: 1.584 MB / 1.248 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.4269, allocations: 1.149 MB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.4288, allocations: 1.295 MB / 1.251 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.4297, allocations: 331.9 kB / 1.251 GB, free: 9.871 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.4314, allocations: 0.7105 MB / 1.252 GB, free: 9.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.4325, allocations: 0.6894 MB / 1.252 GB, free: 8.469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.4345, allocations: 1.271 MB / 1.254 GB, free: 7.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.4396, allocations: 3.556 MB / 1.257 GB, free: 3.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4397, allocations: 0 / 1.257 GB, free: 3.625 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4397, allocations: 4 kB / 1.257 GB, free: 3.621 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001433/0.4398, allocations: 0 / 1.257 GB, free: 3.621 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007962/0.4478, allocations: 2.784 MB / 1.26 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4479, allocations: 8.031 kB / 1.26 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007241/0.4486, allocations: 324.8 kB / 1.26 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5187/0.9673, allocations: 2.097 MB / 1.262 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.9701, allocations: 1.291 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.9703, allocations: 166.9 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006325/0.9709, allocations: 218.7 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009618/0.9806, allocations: 3.285 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.9807, allocations: 5.016 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/0.981, allocations: 93.33 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/0.981, allocations: 55.19 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.9954, allocations: 4.201 MB / 1.271 GB, free: 170.1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/1.014, allocations: 7.233 MB / 1.278 GB, free: 166.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/1.023, allocations: 2.88 MB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004352/1.028, allocations: 1.488 MB / 1.283 GB, free: 165.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/1.028, allocations: 0.5063 MB / 1.283 GB, free: 164.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005652/1.034, allocations: 1.851 MB / 1.285 GB, free: 164 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 6.643e-06/1.034, allocations: 0 / 1.285 GB, free: 164 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01463/1.049, allocations: 4.46 MB / 1.289 GB, free: 162 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/1.049, allocations: 210.8 kB / 1.289 GB, free: 161.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.05, allocations: 0.9397 MB / 1.29 GB, free: 161.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005127/1.051, allocations: 66.8 kB / 1.29 GB, free: 161.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/1.051, allocations: 0.7471 MB / 1.291 GB, free: 160.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006642/1.052, allocations: 0.6769 MB / 1.292 GB, free: 160 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007122/1.053, allocations: 377.5 kB / 1.292 GB, free: 159.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/1.053, allocations: 305.1 kB / 1.292 GB, free: 159.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/1.056, allocations: 1.241 MB / 1.294 GB, free: 158.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/1.06, allocations: 1.429 MB / 1.295 GB, free: 158 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00782/1.068, allocations: 2.581 MB / 1.298 GB, free: 156.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.068, allocations: 1.438 kB / 1.298 GB, free: 156.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01045/1.079, allocations: 3.073 MB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.079, allocations: 5.375 kB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.079, allocations: 1.781 kB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/1.079, allocations: 90.89 kB / 1.301 GB, free: 155.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/1.083, allocations: 0.5867 MB / 1.301 GB, free: 154.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/1.085, allocations: 1.646 MB / 1.303 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/1.088, allocations: 354.2 kB / 1.303 GB, free: 153.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/1.089, allocations: 96.14 kB / 1.303 GB, free: 153.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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 (231): * Single equations (assignments): 230 * 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.001424/1.09, allocations: 441.8 kB / 1.304 GB, free: 152.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006746/1.091, allocations: 156.3 kB / 1.304 GB, free: 152.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.102, allocations: 3.717 MB / 1.307 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.102, allocations: 23.28 kB / 1.308 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.102, allocations: 0 / 1.308 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.384e-05/1.102, allocations: 15.89 kB / 1.308 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/1.106, allocations: 2.459 MB / 1.31 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/1.106, allocations: 4 kB / 1.31 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/1.109, allocations: 0.5578 MB / 1.31 GB, free: 148.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/1.109, allocations: 72.78 kB / 1.311 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/1.11, allocations: 75.91 kB / 1.311 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/1.111, allocations: 1.662 MB / 1.312 GB, free: 146.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.111, allocations: 0 / 1.312 GB, free: 146.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009611/1.121, allocations: 3.21 MB / 1.315 GB, free: 143.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.122, allocations: 0.549 MB / 1.316 GB, free: 142.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00054/1.123, allocations: 47.94 kB / 1.316 GB, free: 142.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.125, allocations: 271.8 kB / 1.316 GB, free: 142.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/1.126, allocations: 157.7 kB / 1.316 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/1.126, allocations: 91.91 kB / 1.316 GB, free: 142 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009345/1.127, allocations: 0.6997 MB / 1.317 GB, free: 141.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.127, allocations: 0 / 1.317 GB, free: 141.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00183/1.129, allocations: 0.6412 MB / 1.318 GB, free: 140.6 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,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * 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.01064/1.14, allocations: 4.323 MB / 1.322 GB, free: 136.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008708/1.148, allocations: 3.139 MB / 1.325 GB, free: 133.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.148, allocations: 0 / 1.325 GB, free: 133.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/1.153, allocations: 1.755 MB / 1.327 GB, free: 131.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.156, allocations: 362.9 kB / 1.327 GB, free: 131.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03815/1.194, allocations: 16.01 MB / 1.343 GB, free: 115.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.195, allocations: 1.427 MB / 1.344 GB, free: 113.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003409/1.198, allocations: 0.5792 MB / 1.345 GB, free: 113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/1.2, allocations: 0.8857 MB / 1.346 GB, free: 112.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.2, allocations: 0 / 1.346 GB, free: 112.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/1.269, allocations: 42.08 MB / 1.387 GB, free: 70.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.29, allocations: 13.95 kB / 1.387 GB, free: 70.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches