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.001372/0.001372, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001483/0.001483, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.053/3.053, allocations: 0.49 GB / 0.7916 GB, free: 33.28 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.002074/0.002074, allocations: 63.16 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008804/0.3511, allocations: 6.041 MB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.5269, allocations: 154.2 MB / 1.477 GB, free: 2.461 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5281, allocations: 31.75 kB / 1.477 GB, free: 2.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.5293, allocations: 237.7 kB / 1.478 GB, free: 2.195 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.5323, allocations: 0.6534 MB / 1.478 GB, free: 1.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.5351, allocations: 0.8872 MB / 1.479 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.5378, allocations: 1.669 MB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.5392, allocations: 0.6082 MB / 1.481 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.5405, allocations: 0.6423 MB / 1.482 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.5417, allocations: 0.6651 MB / 1.483 GB, free: 13.03 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004531/0.5422, allocations: 160 kB / 1.483 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5437, allocations: 0.5503 MB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.5442, allocations: 378.8 kB / 1.484 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.5454, allocations: 0.7501 MB / 1.484 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.549, allocations: 2.082 MB / 1.486 GB, free: 9.105 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.549, allocations: 0 / 1.486 GB, free: 9.105 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.533e-06/0.549, allocations: 0 / 1.486 GB, free: 9.105 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.079e-05/0.549, allocations: 0 / 1.486 GB, free: 9.105 MB / 1.186 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.004135/0.5532, allocations: 1.8 MB / 1.488 GB, free: 7.246 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5532, allocations: 11.98 kB / 1.488 GB, free: 7.234 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003384/0.5536, allocations: 185.8 kB / 1.488 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.5554, allocations: 271.8 kB / 1.489 GB, free: 6.777 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.5571, allocations: 0.8877 MB / 1.489 GB, free: 5.844 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.5572, allocations: 90.39 kB / 1.49 GB, free: 5.754 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.5574, allocations: 119.9 kB / 1.49 GB, free: 5.637 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.56, allocations: 1.194 MB / 1.491 GB, free: 4.379 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.56, allocations: 0 / 1.491 GB, free: 4.379 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5602, allocations: 52 kB / 1.491 GB, free: 4.328 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.5602, allocations: 32 kB / 1.491 GB, free: 4.297 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.5627, allocations: 1.285 MB / 1.492 GB, free: 3.004 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006494/0.5692, allocations: 3.722 MB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.571, allocations: 0.8074 MB / 1.497 GB, free: 14.25 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.5717, allocations: 306.6 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.5718, allocations: 36.61 kB / 1.497 GB, free: 13.92 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.573, allocations: 0.5199 MB / 1.497 GB, free: 13.38 MB / 1.201 GB Notification: Performance of pre-optimization done (n=87): time 3.346e-06/0.573, allocations: 0 / 1.497 GB, free: 13.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=87): time 0.003755/0.5767, allocations: 1.287 MB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.5769, allocations: 192.9 kB / 1.499 GB, free: 11.84 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5781, allocations: 0.7628 MB / 1.5 GB, free: 11.07 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/0.5781, allocations: 49.7 kB / 1.5 GB, free: 11.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.5787, allocations: 0.532 MB / 1.5 GB, free: 10.47 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.5789, allocations: 297.5 kB / 1.5 GB, free: 10.18 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.5792, allocations: 158.6 kB / 1.501 GB, free: 10.02 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5793, allocations: 334 kB / 1.501 GB, free: 9.688 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.58, allocations: 269.9 kB / 1.501 GB, free: 9.426 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.5807, allocations: 390.5 kB / 1.502 GB, free: 9.016 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5819, allocations: 0.632 MB / 1.502 GB, free: 8.375 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5819, allocations: 0 / 1.502 GB, free: 8.375 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002245/0.5841, allocations: 0.8803 MB / 1.503 GB, free: 7.48 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.5841, allocations: 15.92 kB / 1.503 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5842, allocations: 0 / 1.503 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/0.5848, allocations: 76.88 kB / 1.503 GB, free: 7.387 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.5855, allocations: 167.8 kB / 1.503 GB, free: 7.223 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.5878, allocations: 1.63 MB / 1.505 GB, free: 5.449 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/0.5887, allocations: 107.3 kB / 1.505 GB, free: 5.344 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.5888, allocations: 31.98 kB / 1.505 GB, free: 5.312 MB / 1.201 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.000598/0.5894, allocations: 297.6 kB / 1.505 GB, free: 5.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.5896, allocations: 107.3 kB / 1.505 GB, free: 4.906 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.5923, allocations: 1.13 MB / 1.506 GB, free: 3.766 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5923, allocations: 8 kB / 1.506 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5923, allocations: 4 kB / 1.506 GB, free: 3.754 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.5923, allocations: 7.969 kB / 1.506 GB, free: 3.746 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.5938, allocations: 1.067 MB / 1.508 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5939, allocations: 0 / 1.508 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/0.5945, allocations: 155.8 kB / 1.508 GB, free: 2.477 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.595, allocations: 76.72 kB / 1.508 GB, free: 2.398 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.595, allocations: 27.92 kB / 1.508 GB, free: 2.371 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.5971, allocations: 1.658 MB / 1.509 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5971, allocations: 0 / 1.509 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5995, allocations: 0.9985 MB / 1.51 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.5999, allocations: 296.1 kB / 1.511 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6001, allocations: 16 kB / 1.511 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.6007, allocations: 79.92 kB / 1.511 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.6009, allocations: 72.89 kB / 1.511 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.601, allocations: 35.98 kB / 1.511 GB, free: 15.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008009/0.6018, allocations: 0.5381 MB / 1.511 GB, free: 14.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6018, allocations: 0 / 1.511 GB, free: 14.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001054/0.6029, allocations: 382.9 kB / 1.512 GB, free: 14.12 MB / 1.217 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.004459/0.6074, allocations: 2.05 MB / 1.514 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.6093, allocations: 0.8313 MB / 1.515 GB, free: 11.38 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6093, allocations: 0 / 1.515 GB, free: 11.38 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6104, allocations: 0.508 MB / 1.515 GB, free: 10.86 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.6119, allocations: 325.4 kB / 1.515 GB, free: 10.57 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.6249, allocations: 7.141 MB / 1.522 GB, free: 3.27 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/0.6257, allocations: 1.114 MB / 1.523 GB, free: 2.129 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000973/0.6267, allocations: 291.6 kB / 1.524 GB, free: 1.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/0.6274, allocations: 487.2 kB / 1.524 GB, free: 1.363 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/0.6274, allocations: 0 / 1.524 GB, free: 1.363 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/0.6951, allocations: 24.58 MB / 1.548 GB, free: 9.102 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.4, allocations: 4.062 kB / 1.548 GB, free: 9.098 MB / 1.248 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.056211216840893]