Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.00135/0.00135, 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.001674/0.001674, allocations: 214 kB / 23.04 MB, free: 5.078 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.996 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.249/3.249, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001991/0.001991, allocations: 63.23 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.376, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007325/0.3834, allocations: 5.257 MB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.579, allocations: 154.3 MB / 1.501 GB, free: 364 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5801, allocations: 27.75 kB / 1.501 GB, free: 336 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009552/0.5811, allocations: 202.1 kB / 1.501 GB, free: 132 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.5835, allocations: 0.5914 MB / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.5863, allocations: 0.9152 MB / 1.503 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.5888, allocations: 1.471 MB / 1.504 GB, free: 13.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.59, allocations: 472.7 kB / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.5911, allocations: 0.545 MB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.5923, allocations: 0.5523 MB / 1.506 GB, free: 11.57 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004503/0.5928, allocations: 128 kB / 1.506 GB, free: 11.44 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5943, allocations: 0.5464 MB / 1.506 GB, free: 10.89 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.5948, allocations: 323 kB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.5956, allocations: 0.6141 MB / 1.507 GB, free: 9.961 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.5983, allocations: 1.813 MB / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5983, allocations: 0 / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5983, allocations: 0 / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.521e-05/0.5984, allocations: 0 / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00314/0.6015, allocations: 1.5 MB / 1.511 GB, free: 6.602 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.6015, allocations: 12.03 kB / 1.511 GB, free: 6.59 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.661e-05/0.6016, allocations: 26.19 kB / 1.511 GB, free: 6.566 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.6017, allocations: 148.2 kB / 1.511 GB, free: 6.414 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.613, allocations: 1.803 MB / 1.512 GB, free: 4.609 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6148, allocations: 0.7645 MB / 1.513 GB, free: 3.816 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.6149, allocations: 69.94 kB / 1.513 GB, free: 3.746 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.615, allocations: 96 kB / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006146/0.6212, allocations: 1.874 MB / 1.515 GB, free: 1.738 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.6212, allocations: 0 / 1.515 GB, free: 1.738 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.6213, allocations: 44 kB / 1.515 GB, free: 1.695 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.6214, allocations: 20 kB / 1.515 GB, free: 1.676 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.6315, allocations: 2.794 MB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.6421, allocations: 5.334 MB / 1.523 GB, free: 8.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005873/0.648, allocations: 1.6 MB / 1.525 GB, free: 7.164 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/0.6526, allocations: 1.092 MB / 1.526 GB, free: 6.07 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.873e-05/0.6527, allocations: 40.61 kB / 1.526 GB, free: 6.031 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005143/0.6578, allocations: 1.352 MB / 1.527 GB, free: 4.66 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.6578, allocations: 0 / 1.527 GB, free: 4.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.01565/0.6735, allocations: 3.476 MB / 1.531 GB, free: 1.172 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.6736, allocations: 192.6 kB / 1.531 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.6747, allocations: 0.6723 MB / 1.531 GB, free: 264 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.6748, allocations: 45.69 kB / 1.531 GB, free: 212 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.6753, allocations: 429.1 kB / 1.532 GB, free: 15.78 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.6756, allocations: 281.6 kB / 1.532 GB, free: 15.5 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.6759, allocations: 162.5 kB / 1.532 GB, free: 15.34 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.6761, allocations: 394.7 kB / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/0.6807, allocations: 1.056 MB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/0.6855, allocations: 1.178 MB / 1.535 GB, free: 12.68 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/0.694, allocations: 1.962 MB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.694, allocations: 0 / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01032/0.7044, allocations: 2.332 MB / 1.539 GB, free: 8.367 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.7044, allocations: 4 kB / 1.539 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.7044, allocations: 4 kB / 1.539 GB, free: 8.359 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.7051, allocations: 84.86 kB / 1.539 GB, free: 8.273 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.7078, allocations: 475.5 kB / 1.54 GB, free: 7.809 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.7101, allocations: 1.537 MB / 1.541 GB, free: 6.148 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.7129, allocations: 412.9 kB / 1.541 GB, free: 5.746 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.7131, allocations: 35.97 kB / 1.542 GB, free: 5.711 MB / 1.232 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 (88): * Single equations (assignments): 87 * 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.0006933/0.7138, allocations: 269.7 kB / 1.542 GB, free: 5.438 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.7141, allocations: 91.44 kB / 1.542 GB, free: 5.348 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.7251, allocations: 2.655 MB / 1.544 GB, free: 2.68 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.7251, allocations: 8 kB / 1.544 GB, free: 2.672 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.7252, allocations: 7.984 kB / 1.544 GB, free: 2.664 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.7252, allocations: 7.984 kB / 1.544 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.7387, allocations: 4.414 MB / 1.549 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7387, allocations: 0 / 1.549 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/0.7414, allocations: 475.5 kB / 1.549 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/0.7419, allocations: 72.78 kB / 1.549 GB, free: 13.34 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.7421, allocations: 31.97 kB / 1.549 GB, free: 13.3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.7443, allocations: 1.558 MB / 1.551 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7443, allocations: 0 / 1.551 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.7549, allocations: 2.528 MB / 1.553 GB, free: 9.078 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/0.7556, allocations: 235 kB / 1.554 GB, free: 8.848 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.7559, allocations: 20 kB / 1.554 GB, free: 8.828 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/0.7586, allocations: 383.6 kB / 1.554 GB, free: 8.453 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.7588, allocations: 76.8 kB / 1.554 GB, free: 8.375 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.7589, allocations: 39.97 kB / 1.554 GB, free: 8.336 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007561/0.7596, allocations: 487 kB / 1.555 GB, free: 7.867 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7596, allocations: 0 / 1.555 GB, free: 7.867 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001163/0.7608, allocations: 371.1 kB / 1.555 GB, free: 7.504 MB / 1.248 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.01241/0.7732, allocations: 3.587 MB / 1.558 GB, free: 4.07 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01041/0.7836, allocations: 2.416 MB / 1.561 GB, free: 1.641 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7836, allocations: 4 kB / 1.561 GB, free: 1.637 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/0.789, allocations: 1.312 MB / 1.562 GB, free: 324 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.7909, allocations: 311.8 kB / 1.562 GB, free: 28 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/0.8304, allocations: 11.3 MB / 1.573 GB, free: 4.574 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.8315, allocations: 1.051 MB / 1.574 GB, free: 3.492 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001435/0.8329, allocations: 322.8 kB / 1.575 GB, free: 3.172 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009236/0.8338, allocations: 427.2 kB / 1.575 GB, free: 2.758 MB / 1.264 GB Notification: Performance of SimCode: time 1.182e-06/0.8338, allocations: 4 kB / 1.575 GB, free: 2.754 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/0.8988, allocations: 25.55 MB / 1.6 GB, free: 9.426 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.49, allocations: 6.688 kB / 1.6 GB, free: 9.422 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.189909204025753]