Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00173/0.00173, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002121/0.002121, allocations: 213.9 kB / 23.04 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",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.002032/0.002032, allocations: 68.28 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008202/0.3343, allocations: 6.058 MB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.5223, allocations: 154.3 MB / 1.441 GB, free: 10.6 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008903/0.5232, allocations: 27.81 kB / 1.441 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.5239, allocations: 245.6 kB / 1.441 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.5259, allocations: 0.6446 MB / 1.442 GB, free: 9.688 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.528, allocations: 0.9246 MB / 1.443 GB, free: 8.77 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5301, allocations: 1.681 MB / 1.444 GB, free: 7.082 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.5311, allocations: 0.5977 MB / 1.445 GB, free: 6.445 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.5321, allocations: 0.6462 MB / 1.445 GB, free: 5.797 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.5329, allocations: 0.6706 MB / 1.446 GB, free: 5.125 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.5331, allocations: 156 kB / 1.446 GB, free: 4.973 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.5342, allocations: 0.5504 MB / 1.447 GB, free: 4.422 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.5346, allocations: 382.7 kB / 1.447 GB, free: 4.047 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.5353, allocations: 0.7424 MB / 1.448 GB, free: 3.301 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.5379, allocations: 2.09 MB / 1.45 GB, free: 1.203 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5379, allocations: 0 / 1.45 GB, free: 1.203 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5379, allocations: 4 kB / 1.45 GB, free: 1.199 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.5379, allocations: 0 / 1.45 GB, free: 1.199 MB / 1.139 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.003182/0.5411, allocations: 1.717 MB / 1.452 GB, free: 15.44 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5411, allocations: 12.03 kB / 1.452 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.986e-05/0.5411, allocations: 30.59 kB / 1.452 GB, free: 15.4 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.5414, allocations: 181.8 kB / 1.452 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.5429, allocations: 275.8 kB / 1.452 GB, free: 14.94 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5443, allocations: 0.8154 MB / 1.453 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.5444, allocations: 90.41 kB / 1.453 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.5446, allocations: 116 kB / 1.453 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.5466, allocations: 1.206 MB / 1.454 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5467, allocations: 0 / 1.454 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.5468, allocations: 52 kB / 1.454 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.5468, allocations: 28 kB / 1.454 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.549, allocations: 1.285 MB / 1.456 GB, free: 11.25 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.5545, allocations: 3.505 MB / 1.459 GB, free: 7.574 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.5561, allocations: 0.8178 MB / 1.46 GB, free: 6.75 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.5567, allocations: 298.7 kB / 1.46 GB, free: 6.453 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.5568, allocations: 24.61 kB / 1.46 GB, free: 6.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.5577, allocations: 0.5239 MB / 1.461 GB, free: 5.891 MB / 1.154 GB Notification: Performance of pre-optimization done (n=87): time 2.174e-06/0.5577, allocations: 0 / 1.461 GB, free: 5.891 MB / 1.154 GB Notification: Performance of matching and sorting (n=87): time 0.003485/0.5612, allocations: 1.219 MB / 1.462 GB, free: 4.664 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.5614, allocations: 192.9 kB / 1.462 GB, free: 4.43 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5625, allocations: 0.755 MB / 1.463 GB, free: 3.664 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.5626, allocations: 45.7 kB / 1.463 GB, free: 3.613 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.5631, allocations: 0.5359 MB / 1.463 GB, free: 3.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.5633, allocations: 297.4 kB / 1.464 GB, free: 2.777 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.5636, allocations: 162.6 kB / 1.464 GB, free: 2.613 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5638, allocations: 334 kB / 1.464 GB, free: 2.281 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/0.5643, allocations: 273.8 kB / 1.464 GB, free: 2.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.565, allocations: 386.5 kB / 1.465 GB, free: 1.609 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5662, allocations: 0.6359 MB / 1.465 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5662, allocations: 112 / 1.465 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002146/0.5684, allocations: 0.8764 MB / 1.466 GB, free: 80 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5684, allocations: 12.03 kB / 1.466 GB, free: 68 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5684, allocations: 7.938 kB / 1.466 GB, free: 60 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.569, allocations: 84.81 kB / 1.466 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.5697, allocations: 167.7 kB / 1.466 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.5719, allocations: 1.521 MB / 1.468 GB, free: 14.17 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.5727, allocations: 99.36 kB / 1.468 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.5727, allocations: 31.92 kB / 1.468 GB, free: 14.04 MB / 1.17 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.0005341/0.5733, allocations: 293.8 kB / 1.468 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.5735, allocations: 107.3 kB / 1.468 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.576, allocations: 1.13 MB / 1.469 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5761, allocations: 12 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5761, allocations: 4 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.5761, allocations: 3.984 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.5774, allocations: 1.039 MB / 1.471 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5774, allocations: 0 / 1.471 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.5781, allocations: 159.8 kB / 1.471 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.5785, allocations: 68.8 kB / 1.471 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.5786, allocations: 31.91 kB / 1.471 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.5806, allocations: 1.547 MB / 1.472 GB, free: 9.465 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5806, allocations: 4.031 kB / 1.472 GB, free: 9.461 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.5827, allocations: 0.9946 MB / 1.473 GB, free: 8.449 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.5832, allocations: 223 kB / 1.473 GB, free: 8.23 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.5834, allocations: 23.94 kB / 1.473 GB, free: 8.207 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.5841, allocations: 77.64 kB / 1.474 GB, free: 8.133 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.5842, allocations: 72.86 kB / 1.474 GB, free: 8.062 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.5843, allocations: 39.97 kB / 1.474 GB, free: 8.023 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007529/0.5851, allocations: 0.5342 MB / 1.474 GB, free: 7.492 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5851, allocations: 0 / 1.474 GB, free: 7.492 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009808/0.586, allocations: 394.8 kB / 1.475 GB, free: 7.105 MB / 1.17 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.004298/0.5903, allocations: 2.051 MB / 1.477 GB, free: 5.203 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.5922, allocations: 0.8233 MB / 1.477 GB, free: 4.367 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5922, allocations: 4.188 kB / 1.477 GB, free: 4.363 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5933, allocations: 0.508 MB / 1.478 GB, free: 3.84 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.5947, allocations: 333 kB / 1.478 GB, free: 3.539 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.6081, allocations: 7.146 MB / 1.485 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.609, allocations: 1.11 MB / 1.486 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009543/0.6099, allocations: 275.8 kB / 1.487 GB, free: 10.82 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007705/0.6107, allocations: 495.2 kB / 1.487 GB, free: 10.34 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/0.6107, allocations: 0 / 1.487 GB, free: 10.34 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06953/0.6802, allocations: 25.2 MB / 1.512 GB, free: 1.406 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.18, allocations: 17.03 kB / 1.512 GB, free: 1.402 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.04195227700984]