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.001915/0.001915, 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.001558/0.001558, allocations: 218.9 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.832 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.203/3.203, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.001987/0.001987, allocations: 67.69 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3453, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007764/0.3531, allocations: 5.355 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.5291, allocations: 132.9 MB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.5304, allocations: 23.81 kB / 1.461 GB, free: 6.746 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5315, allocations: 249.7 kB / 1.461 GB, free: 6.5 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.5342, allocations: 0.6539 MB / 1.462 GB, free: 5.848 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.5368, allocations: 0.8979 MB / 1.463 GB, free: 4.953 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.5394, allocations: 1.673 MB / 1.464 GB, free: 3.273 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.5406, allocations: 0.605 MB / 1.465 GB, free: 2.625 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.5417, allocations: 0.6423 MB / 1.465 GB, free: 1.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.5427, allocations: 0.6706 MB / 1.466 GB, free: 1.309 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.543, allocations: 156 kB / 1.466 GB, free: 1.156 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.5441, allocations: 0.5309 MB / 1.467 GB, free: 0.625 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.5445, allocations: 382.8 kB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.5452, allocations: 0.6027 MB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.5479, allocations: 2.101 MB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.5479, allocations: 4 kB / 1.47 GB, free: 13.53 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5479, allocations: 0 / 1.47 GB, free: 13.53 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.548, allocations: 0 / 1.47 GB, free: 13.53 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.003375/0.5514, allocations: 1.713 MB / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5514, allocations: 12.03 kB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.5516, allocations: 181.8 kB / 1.472 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.5532, allocations: 275.8 kB / 1.472 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.5549, allocations: 0.8155 MB / 1.473 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.194e-05/0.5549, allocations: 90.41 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.5551, allocations: 112 kB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.5574, allocations: 1.457 MB / 1.474 GB, free: 8.688 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.5575, allocations: 0 / 1.474 GB, free: 8.688 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.5576, allocations: 48 kB / 1.474 GB, free: 8.641 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.5576, allocations: 32 kB / 1.474 GB, free: 8.609 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.5597, allocations: 1.242 MB / 1.476 GB, free: 7.359 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/0.5649, allocations: 2.784 MB / 1.478 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.5666, allocations: 0.8187 MB / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.5672, allocations: 294.7 kB / 1.479 GB, free: 3.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-05/0.5672, allocations: 24.62 kB / 1.479 GB, free: 3.363 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.5683, allocations: 0.6252 MB / 1.48 GB, free: 2.695 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.5683, allocations: 0 / 1.48 GB, free: 2.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.003607/0.5719, allocations: 1.219 MB / 1.481 GB, free: 1.465 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.572, allocations: 188.9 kB / 1.481 GB, free: 1.238 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.5732, allocations: 0.7628 MB / 1.482 GB, free: 476 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.5733, allocations: 41.7 kB / 1.482 GB, free: 428 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.5738, allocations: 0.5359 MB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.5741, allocations: 297.5 kB / 1.483 GB, free: 15.58 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.5743, allocations: 158.6 kB / 1.483 GB, free: 15.42 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5745, allocations: 337.9 kB / 1.483 GB, free: 15.09 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.5751, allocations: 265.9 kB / 1.484 GB, free: 14.82 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.5759, allocations: 0.5069 MB / 1.484 GB, free: 14.26 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.5771, allocations: 0.6398 MB / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5771, allocations: 0 / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002184/0.5793, allocations: 0.8764 MB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5793, allocations: 12.05 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5793, allocations: 3.938 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/0.58, allocations: 84.86 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.5807, allocations: 167.7 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.5831, allocations: 1.525 MB / 1.487 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.5839, allocations: 101.4 kB / 1.488 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.584, allocations: 31.98 kB / 1.488 GB, free: 10.69 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.000545/0.5846, allocations: 289.6 kB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5848, allocations: 103.3 kB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.5874, allocations: 1.13 MB / 1.489 GB, free: 9.148 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5874, allocations: 12 kB / 1.489 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5874, allocations: 4 kB / 1.489 GB, free: 9.133 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5875, allocations: 3.984 kB / 1.489 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.5888, allocations: 0.895 MB / 1.49 GB, free: 8.191 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5888, allocations: 0 / 1.49 GB, free: 8.191 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.5895, allocations: 163.7 kB / 1.49 GB, free: 8.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.59, allocations: 68.78 kB / 1.49 GB, free: 7.961 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.59, allocations: 31.92 kB / 1.49 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.5922, allocations: 1.543 MB / 1.492 GB, free: 6.266 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5922, allocations: 0 / 1.492 GB, free: 6.266 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.5944, allocations: 0.9946 MB / 1.493 GB, free: 5.254 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.595, allocations: 226.9 kB / 1.493 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5951, allocations: 27.94 kB / 1.493 GB, free: 5.004 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.5958, allocations: 59.88 kB / 1.493 GB, free: 4.945 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.596, allocations: 76.84 kB / 1.493 GB, free: 4.867 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.5961, allocations: 35.98 kB / 1.493 GB, free: 4.832 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008049/0.5969, allocations: 0.542 MB / 1.494 GB, free: 4.293 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5969, allocations: 0 / 1.494 GB, free: 4.293 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001011/0.5979, allocations: 386.9 kB / 1.494 GB, free: 3.914 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.00452/0.6024, allocations: 2.103 MB / 1.496 GB, free: 1.992 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.6043, allocations: 0.8236 MB / 1.497 GB, free: 1.156 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6043, allocations: 0 / 1.497 GB, free: 1.156 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6053, allocations: 0.508 MB / 1.497 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6067, allocations: 325 kB / 1.498 GB, free: 352 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6193, allocations: 7.138 MB / 1.505 GB, free: 9.047 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.6199, allocations: 0.5262 MB / 1.505 GB, free: 8.488 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009548/0.6209, allocations: 279.7 kB / 1.505 GB, free: 8.211 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007201/0.6216, allocations: 491.2 kB / 1.506 GB, free: 7.73 MB / 1.201 GB Notification: Performance of SimCode: time 1.112e-06/0.6216, allocations: 0 / 1.506 GB, free: 7.73 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07353/0.6951, allocations: 26.5 MB / 1.532 GB, free: 13.56 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.13, allocations: 10.88 kB / 1.532 GB, free: 13.55 MB / 1.233 GB " [Timeout remaining time 286] (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.035261434008135]