Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278/1.28, allocations: 168.7 MB / 1.271 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002661/1.283, allocations: 1.531 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/1.284, allocations: 0.7826 MB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/1.284, allocations: 1 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/1.284, allocations: 6.047 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/1.284, allocations: 14.89 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/1.285, allocations: 122.5 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000146/1.285, allocations: 82.41 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/1.285, allocations: 13.2 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/1.285, allocations: 41.47 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/1.285, allocations: 45.75 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/1.285, allocations: 11.09 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/1.285, allocations: 104.8 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/1.285, allocations: 15.86 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/1.285, allocations: 32.48 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/1.286, allocations: 149.8 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.286, allocations: 5.094 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.286, allocations: 0 / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.286, allocations: 0 / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006434/1.286, allocations: 462.6 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.286, allocations: 9.75 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/1.286, allocations: 38.44 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/1.286, allocations: 8.734 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/1.287, allocations: 182.7 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.287, allocations: 3.219 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/1.287, allocations: 9.031 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.287, allocations: 75.84 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.287, allocations: 1.094 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.287, allocations: 4 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.287, allocations: 1.125 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/1.287, allocations: 43.11 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.287, allocations: 322.1 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/1.288, allocations: 56.69 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/1.288, allocations: 36.03 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/1.288, allocations: 4.984 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/1.288, allocations: 94.03 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/1.288, allocations: 0.8125 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004133/1.288, allocations: 155.1 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.288, allocations: 57.72 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/1.288, allocations: 131.4 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.288, allocations: 27.27 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/1.289, allocations: 96.05 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/1.289, allocations: 18.86 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/1.289, allocations: 31.31 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/1.289, allocations: 324.7 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/1.289, allocations: 28.47 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/1.289, allocations: 69.39 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/1.289, allocations: 112.6 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.289, allocations: 0 / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002376/1.289, allocations: 129.2 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.289, allocations: 5.844 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.289, allocations: 1.75 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.289, allocations: 3.547 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.289, allocations: 17.89 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/1.289, allocations: 10.92 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/1.289, allocations: 17.5 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/1.289, allocations: 5.625 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/1.29, allocations: 128.4 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/1.29, allocations: 7.828 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/1.29, allocations: 146.4 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.29, allocations: 1.656 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.29, allocations: 4.656 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.29, allocations: 1.516 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/1.29, allocations: 435 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/1.29, allocations: 1.641 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/1.29, allocations: 13.66 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.29, allocations: 1.641 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.291, allocations: 2.094 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.291, allocations: 4.719 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.291, allocations: 5.094 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/1.291, allocations: 222.2 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/1.291, allocations: 88.77 kB / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/1.291, allocations: 7.578 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/1.291, allocations: 10.39 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/1.291, allocations: 19.8 kB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/1.291, allocations: 7.094 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.028e-05/1.291, allocations: 98.7 kB / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.291, allocations: 0 / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003541/1.291, allocations: 40.11 kB / 1.278 GB, free: 2.695 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007467/1.292, allocations: 0.8302 MB / 1.279 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002476/1.292, allocations: 84.23 kB / 1.279 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.292, allocations: 0.6562 kB / 1.279 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/1.293, allocations: 36.78 kB / 1.279 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/1.293, allocations: 27.53 kB / 1.279 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.294, allocations: 1.604 MB / 1.281 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/1.295, allocations: 0.6955 MB / 1.281 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.948e-05/1.295, allocations: 11.69 kB / 1.281 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/1.295, allocations: 27.12 kB / 1.281 GB, free: 15.81 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/1.295, allocations: 1 kB / 1.281 GB, free: 15.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/1.323, allocations: 3.099 MB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/9.383, allocations: 14.28 kB / 1.284 GB, free: 15.29 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.689199524989817] Failed to read output from testmodel.py, exit status != 0: 9.452871707995655 9.467628976 8.178858825 Calling exit ...