Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001832/0.001832, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002217/0.002217, allocations: 215 kB / 20.13 MB, free: 2.949 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.14 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 2.955/2.955, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 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.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.00199/0.00199, allocations: 67.89 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.968, allocations: 178.9 MB / 1.34 GB, free: 16.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006315/0.9743, allocations: 5.238 MB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2082/1.182, allocations: 154 MB / 1.496 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/1.184, allocations: 20.38 kB / 1.496 GB, free: 7.871 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/1.186, allocations: 211.9 kB / 1.496 GB, free: 7.684 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/1.189, allocations: 0.5852 MB / 1.496 GB, free: 7.242 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/1.191, allocations: 0.873 MB / 1.497 GB, free: 6.582 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002536/1.194, allocations: 1.481 MB / 1.499 GB, free: 5.621 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/1.195, allocations: 497.5 kB / 1.499 GB, free: 5.109 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/1.196, allocations: 0.5412 MB / 1.5 GB, free: 4.566 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/1.197, allocations: 0.5601 MB / 1.5 GB, free: 4.004 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/1.197, allocations: 132 kB / 1.5 GB, free: 3.875 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/1.199, allocations: 0.5269 MB / 1.501 GB, free: 3.348 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/1.199, allocations: 326.9 kB / 1.501 GB, free: 3.027 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007649/1.2, allocations: 0.618 MB / 1.502 GB, free: 2.406 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/1.203, allocations: 1.802 MB / 1.504 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.203, allocations: 8 kB / 1.504 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.134e-06/1.203, allocations: 0 / 1.504 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.203, allocations: 0 / 1.504 GB, free: 0.5898 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003002/1.206, allocations: 1.574 MB / 1.505 GB, free: 14.96 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.206, allocations: 8.031 kB / 1.505 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.325e-05/1.206, allocations: 26.19 kB / 1.505 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/1.206, allocations: 148.3 kB / 1.505 GB, free: 14.78 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/1.208, allocations: 371.8 kB / 1.506 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.21, allocations: 0.8112 MB / 1.506 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/1.21, allocations: 74 kB / 1.507 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/1.21, allocations: 92 kB / 1.507 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/1.212, allocations: 1.081 MB / 1.508 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.212, allocations: 0 / 1.508 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.212, allocations: 40 kB / 1.508 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/1.212, allocations: 20 kB / 1.508 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/1.215, allocations: 1.272 MB / 1.509 GB, free: 10.95 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/1.22, allocations: 3.059 MB / 1.512 GB, free: 7.742 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/1.223, allocations: 0.9906 MB / 1.513 GB, free: 6.734 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/1.224, allocations: 334.6 kB / 1.513 GB, free: 6.402 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/1.224, allocations: 32.61 kB / 1.513 GB, free: 6.371 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.225, allocations: 0.5627 MB / 1.514 GB, free: 5.797 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.475e-06/1.225, allocations: 0 / 1.514 GB, free: 5.797 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004239/1.229, allocations: 1.384 MB / 1.515 GB, free: 4.383 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.229, allocations: 196.9 kB / 1.515 GB, free: 4.148 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009962/1.23, allocations: 0.6606 MB / 1.516 GB, free: 3.477 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/1.23, allocations: 45.7 kB / 1.516 GB, free: 3.426 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/1.231, allocations: 441 kB / 1.517 GB, free: 2.988 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/1.231, allocations: 289.6 kB / 1.517 GB, free: 2.703 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/1.232, allocations: 154.6 kB / 1.517 GB, free: 2.547 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002751/1.232, allocations: 390.7 kB / 1.517 GB, free: 2.156 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/1.233, allocations: 305.8 kB / 1.518 GB, free: 1.855 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/1.234, allocations: 410.5 kB / 1.518 GB, free: 1.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/1.235, allocations: 0.6906 MB / 1.519 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.235, allocations: 0 / 1.519 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002717/1.238, allocations: 0.9272 MB / 1.52 GB, free: 15.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.238, allocations: 8 kB / 1.52 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.238, allocations: 0 / 1.52 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/1.239, allocations: 84.81 kB / 1.52 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.24, allocations: 175.8 kB / 1.52 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/1.242, allocations: 1.639 MB / 1.521 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/1.243, allocations: 111.5 kB / 1.522 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/1.243, allocations: 39.91 kB / 1.522 GB, free: 13.59 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 (90): * Single equations (assignments): 89 * 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.0005749/1.244, allocations: 273.6 kB / 1.522 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/1.244, allocations: 91.42 kB / 1.522 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/1.247, allocations: 1.206 MB / 1.523 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.247, allocations: 8 kB / 1.523 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.247, allocations: 3.938 kB / 1.523 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.247, allocations: 3.984 kB / 1.523 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/1.251, allocations: 2.164 MB / 1.525 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.251, allocations: 0 / 1.525 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/1.252, allocations: 175.8 kB / 1.525 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/1.253, allocations: 68.8 kB / 1.525 GB, free: 9.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/1.253, allocations: 31.91 kB / 1.525 GB, free: 9.488 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.255, allocations: 1.662 MB / 1.527 GB, free: 7.68 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.255, allocations: 0 / 1.527 GB, free: 7.68 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/1.258, allocations: 1.131 MB / 1.528 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/1.258, allocations: 288.1 kB / 1.528 GB, free: 6.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.258, allocations: 20 kB / 1.529 GB, free: 6.211 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/1.259, allocations: 87.31 kB / 1.529 GB, free: 6.129 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.259, allocations: 72.89 kB / 1.529 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/1.259, allocations: 39.97 kB / 1.529 GB, free: 6.016 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006885/1.26, allocations: 483 kB / 1.529 GB, free: 5.551 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.26, allocations: 0 / 1.529 GB, free: 5.551 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001076/1.261, allocations: 351 kB / 1.529 GB, free: 5.207 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.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 (97): * Single equations (assignments): 91 * 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.005032/1.266, allocations: 2.175 MB / 1.532 GB, free: 3.184 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.269, allocations: 0.886 MB / 1.532 GB, free: 2.285 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.269, allocations: 4 kB / 1.532 GB, free: 2.281 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.27, allocations: 0.547 MB / 1.533 GB, free: 1.727 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/1.271, allocations: 319.1 kB / 1.533 GB, free: 1.434 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.285, allocations: 6.85 MB / 1.54 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/1.286, allocations: 1.056 MB / 1.541 GB, free: 9.344 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001018/1.287, allocations: 283 kB / 1.541 GB, free: 9.062 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006984/1.287, allocations: 427.2 kB / 1.542 GB, free: 8.645 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/1.287, allocations: 0 / 1.542 GB, free: 8.645 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05845/1.346, allocations: 23.11 MB / 1.564 GB, free: 1.902 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.05, allocations: 11.81 kB / 1.564 GB, free: 1.891 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.86281856399728]