Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001353/0.001353, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001423/0.001423, allocations: 216.2 kB / 22.25 MB, free: 5.258 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.118/3.118, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.002008/0.002008, allocations: 66.64 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3452, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008994/0.3542, allocations: 5.363 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.5332, allocations: 132.9 MB / 1.461 GB, free: 6.734 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.5344, allocations: 23.81 kB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.5352, allocations: 253.7 kB / 1.461 GB, free: 6.461 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.5379, allocations: 0.6451 MB / 1.462 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.5405, allocations: 0.8987 MB / 1.463 GB, free: 4.922 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.5431, allocations: 1.665 MB / 1.464 GB, free: 3.25 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.5444, allocations: 0.6089 MB / 1.465 GB, free: 2.598 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.5457, allocations: 0.6463 MB / 1.465 GB, free: 1.949 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.5469, allocations: 0.67 MB / 1.466 GB, free: 1.277 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/0.5473, allocations: 160 kB / 1.466 GB, free: 1.121 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.5487, allocations: 0.5309 MB / 1.467 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.5493, allocations: 378.7 kB / 1.467 GB, free: 224 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.5504, allocations: 0.6027 MB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.5541, allocations: 2.105 MB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5541, allocations: 0 / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5541, allocations: 4 kB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.208e-05/0.5542, allocations: 0 / 1.47 GB, free: 13.5 MB / 1.17 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.003798/0.558, allocations: 1.713 MB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.558, allocations: 11.97 kB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/0.5582, allocations: 181.8 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.5598, allocations: 275.8 kB / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.5614, allocations: 0.8078 MB / 1.473 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.5615, allocations: 94.41 kB / 1.473 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5616, allocations: 115.9 kB / 1.473 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.5639, allocations: 1.457 MB / 1.474 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.5639, allocations: 3.938 kB / 1.474 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.564, allocations: 52 kB / 1.474 GB, free: 8.598 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.5641, allocations: 28 kB / 1.474 GB, free: 8.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.5662, allocations: 1.238 MB / 1.476 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.5715, allocations: 2.785 MB / 1.478 GB, free: 4.469 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.5731, allocations: 0.8187 MB / 1.479 GB, free: 3.641 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.5737, allocations: 290.7 kB / 1.479 GB, free: 3.355 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.5738, allocations: 28.58 kB / 1.479 GB, free: 3.328 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.5748, allocations: 0.6246 MB / 1.48 GB, free: 2.66 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 3.406e-06/0.5748, allocations: 0 / 1.48 GB, free: 2.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.003422/0.5782, allocations: 1.215 MB / 1.481 GB, free: 1.434 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5784, allocations: 193 kB / 1.481 GB, free: 1.203 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.5796, allocations: 0.7589 MB / 1.482 GB, free: 444 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/0.5797, allocations: 45.7 kB / 1.482 GB, free: 392 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.5802, allocations: 0.54 MB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.5805, allocations: 297.5 kB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.5808, allocations: 154.6 kB / 1.483 GB, free: 15.38 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5809, allocations: 334 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.5815, allocations: 273.8 kB / 1.484 GB, free: 14.78 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/0.5823, allocations: 0.5068 MB / 1.484 GB, free: 14.22 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.5835, allocations: 0.6321 MB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5835, allocations: 0 / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002231/0.5858, allocations: 0.8803 MB / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.5858, allocations: 11.75 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5858, allocations: 0 / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.5864, allocations: 80.88 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.5871, allocations: 167.7 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.5893, allocations: 1.519 MB / 1.487 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.5902, allocations: 107.4 kB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.5903, allocations: 35.91 kB / 1.488 GB, free: 10.65 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (96): * Single equations (assignments): 95 * 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.0006641/0.591, allocations: 289.6 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.5913, allocations: 103.3 kB / 1.488 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.594, allocations: 1.126 MB / 1.489 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.594, allocations: 8 kB / 1.489 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.594, allocations: 0 / 1.489 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.594, allocations: 7.922 kB / 1.489 GB, free: 9.102 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.5957, allocations: 0.9028 MB / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.5957, allocations: 0 / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006567/0.5964, allocations: 155.8 kB / 1.49 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.5968, allocations: 68.78 kB / 1.49 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.5969, allocations: 31.92 kB / 1.49 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.5991, allocations: 1.539 MB / 1.492 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5991, allocations: 4.062 kB / 1.492 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.6014, allocations: 1.002 MB / 1.493 GB, free: 5.219 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.602, allocations: 230.9 kB / 1.493 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.6023, allocations: 20 kB / 1.493 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/0.603, allocations: 69.58 kB / 1.493 GB, free: 4.906 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.6032, allocations: 72.86 kB / 1.493 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.6033, allocations: 39.97 kB / 1.493 GB, free: 4.793 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008953/0.6042, allocations: 0.5342 MB / 1.494 GB, free: 4.262 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6042, allocations: 0 / 1.494 GB, free: 4.262 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001133/0.6053, allocations: 390.8 kB / 1.494 GB, free: 3.879 MB / 1.186 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.004688/0.61, allocations: 2.095 MB / 1.496 GB, free: 1.969 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.6119, allocations: 0.8194 MB / 1.497 GB, free: 1.137 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6119, allocations: 8.125 kB / 1.497 GB, free: 1.129 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.613, allocations: 0.5158 MB / 1.497 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.6146, allocations: 323.8 kB / 1.498 GB, free: 316 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.6284, allocations: 7.138 MB / 1.505 GB, free: 9.012 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/0.6293, allocations: 0.5184 MB / 1.505 GB, free: 8.461 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001003/0.6303, allocations: 283.7 kB / 1.505 GB, free: 8.18 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.631, allocations: 495.2 kB / 1.506 GB, free: 7.695 MB / 1.201 GB Notification: Performance of SimCode: time 9.32e-07/0.631, allocations: 0 / 1.506 GB, free: 7.695 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/0.7002, allocations: 26.49 MB / 1.532 GB, free: 13.52 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.61, allocations: 6.016 kB / 1.532 GB, free: 13.52 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable HDifWal.H in file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.47322026200709]