Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 216.6 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.283/3.283, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.16 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01197/0.3488, allocations: 8.547 MB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.5353, allocations: 155.4 MB / 1.513 GB, free: 3.914 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.5369, allocations: 31.81 kB / 1.513 GB, free: 3.883 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.5381, allocations: 328.6 kB / 1.513 GB, free: 3.559 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.5412, allocations: 0.8781 MB / 1.514 GB, free: 2.68 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.5446, allocations: 1.411 MB / 1.515 GB, free: 1.273 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.5489, allocations: 3.025 MB / 1.518 GB, free: 14.24 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.5509, allocations: 1.005 MB / 1.519 GB, free: 13.17 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.553, allocations: 1.254 MB / 1.521 GB, free: 11.91 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.5553, allocations: 1.354 MB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0009427/0.5562, allocations: 331.9 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.5582, allocations: 0.7379 MB / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009654/0.5592, allocations: 0.7049 MB / 1.524 GB, free: 8.781 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.5609, allocations: 1.345 MB / 1.525 GB, free: 7.43 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.5663, allocations: 3.721 MB / 1.529 GB, free: 3.695 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.5663, allocations: 0 / 1.529 GB, free: 3.695 MB / 1.217 GB Notification: Performance of FrontEnd: time 5.731e-06/0.5663, allocations: 4 kB / 1.529 GB, free: 3.691 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001106/0.5664, allocations: 0 / 1.529 GB, free: 3.691 MB / 1.217 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.007598/0.574, allocations: 2.853 MB / 1.531 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.5741, allocations: 12.03 kB / 1.531 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/0.5746, allocations: 316.9 kB / 1.532 GB, free: 456 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04548/0.62, allocations: 6.91 MB / 1.538 GB, free: 9.527 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.6235, allocations: 1.359 MB / 1.54 GB, free: 8.137 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.6237, allocations: 168.5 kB / 1.54 GB, free: 7.969 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000661/0.6243, allocations: 220 kB / 1.54 GB, free: 7.754 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.6465, allocations: 5.94 MB / 1.546 GB, free: 1.719 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.6465, allocations: 0 / 1.546 GB, free: 1.719 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.6469, allocations: 99.98 kB / 1.546 GB, free: 1.621 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.6469, allocations: 52 kB / 1.546 GB, free: 1.57 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03722/0.6841, allocations: 9.189 MB / 1.555 GB, free: 8.359 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03711/0.7213, allocations: 15.6 MB / 1.57 GB, free: 6.598 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02152/0.7428, allocations: 5.206 MB / 1.575 GB, free: 1.375 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01639/0.7592, allocations: 3.858 MB / 1.579 GB, free: 13.51 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.7594, allocations: 73.78 kB / 1.579 GB, free: 13.44 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01778/0.7772, allocations: 4.478 MB / 1.584 GB, free: 8.941 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 5.58e-06/0.7772, allocations: 0 / 1.584 GB, free: 8.941 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.05178/0.829, allocations: 11.51 MB / 1.595 GB, free: 13.42 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.8291, allocations: 201.9 kB / 1.595 GB, free: 13.18 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.8308, allocations: 0.9736 MB / 1.596 GB, free: 12.19 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006959/0.8315, allocations: 69.7 kB / 1.596 GB, free: 12.11 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008072/0.8323, allocations: 0.764 MB / 1.597 GB, free: 11.34 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.8334, allocations: 0.7126 MB / 1.598 GB, free: 10.62 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.8345, allocations: 395.2 kB / 1.598 GB, free: 10.23 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8346, allocations: 309.1 kB / 1.598 GB, free: 9.926 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0166/0.8512, allocations: 3.732 MB / 1.602 GB, free: 6.191 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01658/0.8678, allocations: 3.939 MB / 1.606 GB, free: 2.211 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6771/1.545, allocations: 6.742 MB / 1.612 GB, free: 252.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/1.545, allocations: 1.062 kB / 1.612 GB, free: 252.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03413/1.579, allocations: 7.684 MB / 1.62 GB, free: 251.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.579, allocations: 9.5 kB / 1.62 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.579, allocations: 1.312 kB / 1.62 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/1.58, allocations: 86.19 kB / 1.62 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009549/1.589, allocations: 1.54 MB / 1.621 GB, free: 251.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/1.591, allocations: 1.536 MB / 1.623 GB, free: 249.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008944/1.6, allocations: 1.288 MB / 1.624 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/1.601, allocations: 105.2 kB / 1.624 GB, free: 249.6 MB / 1.295 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.001547/1.602, allocations: 444.2 kB / 1.625 GB, free: 249.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/1.603, allocations: 164.6 kB / 1.625 GB, free: 249.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03529/1.638, allocations: 8.476 MB / 1.633 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/1.638, allocations: 23.91 kB / 1.633 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.638, allocations: 7.938 kB / 1.633 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.101e-05/1.638, allocations: 10.64 kB / 1.633 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/1.644, allocations: 5.224 MB / 1.638 GB, free: 242.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/1.644, allocations: 1.344 kB / 1.638 GB, free: 242.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009141/1.653, allocations: 1.509 MB / 1.64 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/1.653, allocations: 75.91 kB / 1.64 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006088/1.654, allocations: 88.41 kB / 1.64 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/1.656, allocations: 1.563 MB / 1.641 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.656, allocations: 2.797 kB / 1.641 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03018/1.686, allocations: 7.827 MB / 1.649 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.688, allocations: 0.6058 MB / 1.65 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005387/1.688, allocations: 47.31 kB / 1.65 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008052/1.696, allocations: 1.189 MB / 1.651 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005389/1.697, allocations: 160.2 kB / 1.651 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004669/1.697, allocations: 107.2 kB / 1.651 GB, free: 238.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009103/1.698, allocations: 0.7181 MB / 1.652 GB, free: 237.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.698, allocations: 0 / 1.652 GB, free: 237.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002353/1.7, allocations: 0.7548 MB / 1.653 GB, free: 237.2 MB / 1.295 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.03089/1.731, allocations: 8.923 MB / 1.661 GB, free: 228.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0299/1.761, allocations: 8.018 MB / 1.669 GB, free: 220.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.761, allocations: 0 / 1.669 GB, free: 220.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01544/1.777, allocations: 4.139 MB / 1.673 GB, free: 216.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.779, allocations: 406.4 kB / 1.673 GB, free: 216 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1001/1.879, allocations: 30.75 MB / 1.704 GB, free: 185.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/1.879, allocations: 1.438 MB / 1.705 GB, free: 183.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003908/1.883, allocations: 0.7202 MB / 1.706 GB, free: 182.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.885, allocations: 0.9091 MB / 1.707 GB, free: 181.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.463e-06/1.885, allocations: 0 / 1.707 GB, free: 181.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08756/1.973, allocations: 52.63 MB / 1.758 GB, free: 129.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/18.41, allocations: 11.91 kB / 1.758 GB, free: 129.5 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.470802219817415]