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.001894/0.001894, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002581/0.002581, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.781 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.102/3.102, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002029/0.002029, allocations: 73.41 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007587/0.3235, allocations: 5.359 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.4885, allocations: 132.9 MB / 1.46 GB, free: 7.586 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009259/0.4894, allocations: 23.81 kB / 1.46 GB, free: 7.562 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.4902, allocations: 241.7 kB / 1.46 GB, free: 7.324 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.4922, allocations: 0.6536 MB / 1.461 GB, free: 6.672 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4943, allocations: 0.8946 MB / 1.462 GB, free: 5.781 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.4961, allocations: 1.665 MB / 1.463 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.497, allocations: 0.5815 MB / 1.464 GB, free: 3.484 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008136/0.4978, allocations: 0.6463 MB / 1.465 GB, free: 2.836 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007235/0.4986, allocations: 0.583 MB / 1.465 GB, free: 2.25 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.4988, allocations: 156 kB / 1.465 GB, free: 2.098 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009668/0.4997, allocations: 0.5231 MB / 1.466 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.5001, allocations: 382.8 kB / 1.466 GB, free: 1.199 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005896/0.5007, allocations: 0.6026 MB / 1.467 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.5031, allocations: 2.101 MB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5031, allocations: 4 kB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5031, allocations: 4 kB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.5031, allocations: 0 / 1.469 GB, free: 14.48 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.003168/0.5063, allocations: 1.717 MB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5064, allocations: 15.95 kB / 1.471 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.5066, allocations: 177.8 kB / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.5081, allocations: 279.8 kB / 1.471 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.5095, allocations: 0.8078 MB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.5096, allocations: 90.39 kB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5098, allocations: 116 kB / 1.472 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.512, allocations: 1.461 MB / 1.473 GB, free: 9.625 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.512, allocations: 0 / 1.473 GB, free: 9.625 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.5121, allocations: 51.98 kB / 1.473 GB, free: 9.574 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.5122, allocations: 28 kB / 1.474 GB, free: 9.547 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.5143, allocations: 1.238 MB / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/0.5192, allocations: 2.785 MB / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.5208, allocations: 0.8151 MB / 1.478 GB, free: 4.621 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.5213, allocations: 298.7 kB / 1.479 GB, free: 4.328 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.5214, allocations: 24.64 kB / 1.479 GB, free: 4.305 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.5224, allocations: 0.6243 MB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.5224, allocations: 3.938 kB / 1.479 GB, free: 3.633 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.003387/0.5258, allocations: 1.215 MB / 1.48 GB, free: 2.41 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5259, allocations: 196.9 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5269, allocations: 0.755 MB / 1.481 GB, free: 1.41 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.527, allocations: 41.7 kB / 1.481 GB, free: 1.363 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.5275, allocations: 0.5437 MB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.5277, allocations: 293.5 kB / 1.482 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.528, allocations: 158.6 kB / 1.482 GB, free: 372 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5281, allocations: 334 kB / 1.483 GB, free: 32 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.5287, allocations: 269.9 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/0.5295, allocations: 0.5069 MB / 1.483 GB, free: 15.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5307, allocations: 0.6359 MB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5307, allocations: 0 / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002048/0.5327, allocations: 0.8764 MB / 1.485 GB, free: 13.67 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5328, allocations: 11.92 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.5328, allocations: 4 kB / 1.485 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.5334, allocations: 80.88 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.5341, allocations: 167.8 kB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.5362, allocations: 1.523 MB / 1.487 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.5369, allocations: 103.5 kB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.537, allocations: 39.97 kB / 1.487 GB, free: 11.62 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.0004887/0.5375, allocations: 285.6 kB / 1.487 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.5377, allocations: 99.34 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.5402, allocations: 1.134 MB / 1.488 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5403, allocations: 8 kB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5403, allocations: 0 / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5403, allocations: 3.984 kB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.5415, allocations: 0.8989 MB / 1.489 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5415, allocations: 0 / 1.489 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.5422, allocations: 159.7 kB / 1.489 GB, free: 8.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.5426, allocations: 72.78 kB / 1.489 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.5427, allocations: 27.92 kB / 1.489 GB, free: 8.879 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.5447, allocations: 1.551 MB / 1.491 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5447, allocations: 4.062 kB / 1.491 GB, free: 7.203 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.5469, allocations: 0.9867 MB / 1.492 GB, free: 6.195 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.5474, allocations: 230.9 kB / 1.492 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.5475, allocations: 20 kB / 1.492 GB, free: 5.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.5481, allocations: 69.27 kB / 1.492 GB, free: 5.883 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5483, allocations: 76.86 kB / 1.492 GB, free: 5.805 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.5484, allocations: 35.97 kB / 1.492 GB, free: 5.77 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007844/0.5492, allocations: 0.5342 MB / 1.493 GB, free: 5.238 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5492, allocations: 0 / 1.493 GB, free: 5.238 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009649/0.5501, allocations: 386.9 kB / 1.493 GB, free: 4.859 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.004343/0.5545, allocations: 2.106 MB / 1.495 GB, free: 2.938 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.5563, allocations: 0.8156 MB / 1.496 GB, free: 2.109 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5563, allocations: 192 / 1.496 GB, free: 2.109 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5573, allocations: 0.5158 MB / 1.496 GB, free: 1.586 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5585, allocations: 322 kB / 1.497 GB, free: 1.297 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.5714, allocations: 7.152 MB / 1.504 GB, free: 9.984 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.572, allocations: 0.5262 MB / 1.504 GB, free: 9.426 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009219/0.573, allocations: 279.8 kB / 1.505 GB, free: 9.148 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007531/0.5737, allocations: 491.2 kB / 1.505 GB, free: 8.668 MB / 1.201 GB Notification: Performance of SimCode: time 9.72e-07/0.5737, allocations: 0 / 1.505 GB, free: 8.668 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/0.6571, allocations: 26.23 MB / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.48, allocations: 20.58 kB / 1.531 GB, free: 14.77 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 & /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.30549964820966]