Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001744/0.001744, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00174/0.00174, allocations: 213.8 kB / 23.03 MB, free: 4.922 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.29/3.29, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.002174/0.002174, allocations: 62.27 kB / 1.17 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3885, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009026/0.3975, allocations: 5.35 MB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1937/0.5912, allocations: 132.8 MB / 1.48 GB, free: 5.199 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.5923, allocations: 27.81 kB / 1.48 GB, free: 5.172 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009952/0.5933, allocations: 241.7 kB / 1.48 GB, free: 4.934 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.596, allocations: 0.6471 MB / 1.481 GB, free: 4.285 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.5986, allocations: 0.8964 MB / 1.482 GB, free: 3.395 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.601, allocations: 1.681 MB / 1.484 GB, free: 1.707 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.6021, allocations: 0.5972 MB / 1.484 GB, free: 1.07 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.6031, allocations: 0.6384 MB / 1.485 GB, free: 440 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008919/0.604, allocations: 0.6729 MB / 1.485 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.6042, allocations: 156 kB / 1.486 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.6054, allocations: 0.5348 MB / 1.486 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.6057, allocations: 386.7 kB / 1.486 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006654/0.6064, allocations: 0.6026 MB / 1.487 GB, free: 14.08 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.6092, allocations: 2.097 MB / 1.489 GB, free: 11.98 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6092, allocations: 0 / 1.489 GB, free: 11.98 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6092, allocations: 0 / 1.489 GB, free: 11.98 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.333e-05/0.6093, allocations: 3.938 kB / 1.489 GB, free: 11.97 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.003186/0.6124, allocations: 1.713 MB / 1.491 GB, free: 10.22 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6125, allocations: 12.03 kB / 1.491 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.435e-05/0.6125, allocations: 34.59 kB / 1.491 GB, free: 10.18 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/0.6128, allocations: 177.8 kB / 1.491 GB, free: 9.992 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.6144, allocations: 275.8 kB / 1.491 GB, free: 9.723 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.6159, allocations: 0.8154 MB / 1.492 GB, free: 8.879 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/0.616, allocations: 86.41 kB / 1.492 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.6162, allocations: 120 kB / 1.492 GB, free: 8.676 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.6185, allocations: 1.461 MB / 1.494 GB, free: 7.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.6186, allocations: 3.938 kB / 1.494 GB, free: 7.086 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.6187, allocations: 52 kB / 1.494 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.6187, allocations: 28 kB / 1.494 GB, free: 7.008 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.621, allocations: 1.289 MB / 1.495 GB, free: 5.711 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.6264, allocations: 2.782 MB / 1.498 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.6281, allocations: 0.8239 MB / 1.499 GB, free: 2.031 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.6286, allocations: 294.6 kB / 1.499 GB, free: 1.738 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/0.6287, allocations: 24.62 kB / 1.499 GB, free: 1.715 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.6297, allocations: 0.6218 MB / 1.499 GB, free: 1.055 MB / 1.186 GB Notification: Performance of pre-optimization done (n=87): time 2.815e-06/0.6297, allocations: 0 / 1.499 GB, free: 1.055 MB / 1.186 GB Notification: Performance of matching and sorting (n=87): time 0.003569/0.6333, allocations: 1.215 MB / 1.501 GB, free: 15.82 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6334, allocations: 192.9 kB / 1.501 GB, free: 15.59 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.6347, allocations: 0.7551 MB / 1.502 GB, free: 14.83 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.69e-05/0.6348, allocations: 45.7 kB / 1.502 GB, free: 14.78 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/0.6353, allocations: 0.532 MB / 1.502 GB, free: 14.24 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.6356, allocations: 293.5 kB / 1.502 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.6359, allocations: 166.5 kB / 1.503 GB, free: 13.79 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6361, allocations: 337.9 kB / 1.503 GB, free: 13.45 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.6367, allocations: 269.9 kB / 1.503 GB, free: 13.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007862/0.6375, allocations: 0.5068 MB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.6387, allocations: 0.6282 MB / 1.504 GB, free: 11.98 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6387, allocations: 0 / 1.504 GB, free: 11.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00321/0.6419, allocations: 0.8842 MB / 1.505 GB, free: 11.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.642, allocations: 7.938 kB / 1.505 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.642, allocations: 4.094 kB / 1.505 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/0.6429, allocations: 80.77 kB / 1.505 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.644, allocations: 167.7 kB / 1.505 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.6472, allocations: 1.522 MB / 1.507 GB, free: 9.191 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.6485, allocations: 99.48 kB / 1.507 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.6487, allocations: 43.92 kB / 1.507 GB, free: 9.051 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.0008564/0.6495, allocations: 297.6 kB / 1.507 GB, free: 8.75 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.6499, allocations: 107.3 kB / 1.507 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.6537, allocations: 1.122 MB / 1.508 GB, free: 7.504 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6537, allocations: 15.94 kB / 1.509 GB, free: 7.488 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6537, allocations: 3.984 kB / 1.509 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.6537, allocations: 3.984 kB / 1.509 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.6557, allocations: 0.8874 MB / 1.509 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6558, allocations: 0 / 1.509 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.6567, allocations: 155.8 kB / 1.51 GB, free: 6.398 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006151/0.6574, allocations: 68.8 kB / 1.51 GB, free: 6.328 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.6575, allocations: 31.91 kB / 1.51 GB, free: 6.297 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.6603, allocations: 1.543 MB / 1.511 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6603, allocations: 0 / 1.511 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.6635, allocations: 0.9985 MB / 1.512 GB, free: 3.613 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008144/0.6644, allocations: 226.9 kB / 1.512 GB, free: 3.391 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.6646, allocations: 19.98 kB / 1.512 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6657, allocations: 69.28 kB / 1.512 GB, free: 3.305 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.6659, allocations: 80.84 kB / 1.512 GB, free: 3.223 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6661, allocations: 39.92 kB / 1.513 GB, free: 3.184 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001146/0.6672, allocations: 0.538 MB / 1.513 GB, free: 2.652 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6672, allocations: 0 / 1.513 GB, free: 2.652 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001619/0.6688, allocations: 382.9 kB / 1.513 GB, free: 2.277 MB / 1.201 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.006142/0.675, allocations: 2.085 MB / 1.515 GB, free: 380 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002749/0.6777, allocations: 0.8275 MB / 1.516 GB, free: 15.53 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6777, allocations: 0 / 1.516 GB, free: 15.53 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.6791, allocations: 0.508 MB / 1.517 GB, free: 15.01 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.6814, allocations: 336.1 kB / 1.517 GB, free: 14.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.695, allocations: 7.134 MB / 1.524 GB, free: 7.418 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.6956, allocations: 0.5184 MB / 1.525 GB, free: 6.867 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001013/0.6966, allocations: 291.7 kB / 1.525 GB, free: 6.578 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.6974, allocations: 491.2 kB / 1.525 GB, free: 6.098 MB / 1.217 GB Notification: Performance of SimCode: time 1.143e-06/0.6974, allocations: 3.938 kB / 1.525 GB, free: 6.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06336/0.7607, allocations: 26.02 MB / 1.551 GB, free: 12.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.74, allocations: 8.062 kB / 1.551 GB, free: 12.42 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.025100981001742]