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.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.001918/0.001918, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002457/0.002457, allocations: 211 kB / 20.13 MB, free: 2.969 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.639/1.639, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7678 GB, free: 9.391 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.002101/0.002101, allocations: 67.95 kB / 1.113 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9536/0.9557, allocations: 169.9 MB / 1.279 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003179/0.9589, allocations: 1.544 MB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.9606, allocations: 0.8556 MB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.9607, allocations: 1.312 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.9607, allocations: 5.484 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.9608, allocations: 19.2 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.9615, allocations: 150.7 kB / 1.281 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.9617, allocations: 85.91 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.9617, allocations: 5.734 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.9619, allocations: 49.67 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.962, allocations: 36.98 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.962, allocations: 6.531 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.9622, allocations: 117.6 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.9623, allocations: 27.59 kB / 1.282 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.9623, allocations: 36.89 kB / 1.282 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.9627, allocations: 158.7 kB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.9627, allocations: 1.156 kB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9627, allocations: 0 / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.9627, allocations: 4.438 kB / 1.282 GB, free: 9.664 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.0008714/0.9636, allocations: 473.9 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9636, allocations: 9.688 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.29e-05/0.9636, allocations: 5.688 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.9637, allocations: 33.2 kB / 1.282 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.964, allocations: 28.09 kB / 1.282 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.9642, allocations: 194.9 kB / 1.283 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.9642, allocations: 6.906 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.9643, allocations: 4.859 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.9645, allocations: 76.34 kB / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.9645, allocations: 4 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.9645, allocations: 1.375 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9645, allocations: 4.828 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.9646, allocations: 46.56 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.9652, allocations: 323.7 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.9654, allocations: 59.55 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.9655, allocations: 35.16 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.9655, allocations: 1.281 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.9657, allocations: 88.64 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.9657, allocations: 0 / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004594/0.9662, allocations: 157.8 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.9663, allocations: 57.31 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.9664, allocations: 134.5 kB / 1.284 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.9664, allocations: 29.7 kB / 1.284 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.9665, allocations: 93.64 kB / 1.284 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.9666, allocations: 22.38 kB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.9666, allocations: 35.33 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.9668, allocations: 323.2 kB / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.9669, allocations: 32.62 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.9671, allocations: 74.23 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.9672, allocations: 99.55 kB / 1.284 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9672, allocations: 1.375 kB / 1.284 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002562/0.9675, allocations: 125.9 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.9675, allocations: 5.906 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9675, allocations: 1.312 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9675, allocations: 7.375 kB / 1.284 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.9677, allocations: 22.02 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9677, allocations: 3.203 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.9678, allocations: 25.28 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.9678, allocations: 5.484 kB / 1.284 GB, free: 7.465 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 0.0001126/0.9679, allocations: 124.8 kB / 1.285 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.9679, allocations: 12.47 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.9684, allocations: 146.6 kB / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.9684, allocations: 6.078 kB / 1.285 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9684, allocations: 0 / 1.285 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9684, allocations: 2.109 kB / 1.285 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/0.9691, allocations: 431.2 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.9691, allocations: 1.5 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.9692, allocations: 10.39 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9692, allocations: 0 / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.9692, allocations: 7.547 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.9692, allocations: 7.938 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9692, allocations: 1.906 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.9696, allocations: 233.9 kB / 1.285 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.9697, allocations: 85.69 kB / 1.285 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.9697, allocations: 2 kB / 1.285 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.9699, allocations: 15.36 kB / 1.285 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.97, allocations: 13.36 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.97, allocations: 4.031 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.9701, allocations: 100.6 kB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9701, allocations: 0 / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003525/0.9704, allocations: 42.17 kB / 1.286 GB, free: 6.52 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.00103/0.9715, allocations: 0.8302 MB / 1.286 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.9718, allocations: 79.19 kB / 1.287 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9718, allocations: 0 / 1.287 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.9719, allocations: 39.05 kB / 1.287 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.9722, allocations: 26.44 kB / 1.287 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.9744, allocations: 1.605 MB / 1.288 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.9748, allocations: 0.6943 MB / 1.289 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.924e-05/0.9748, allocations: 13.44 kB / 1.289 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.9749, allocations: 27.55 kB / 1.289 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.9749, allocations: 0 / 1.289 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.9962, allocations: 3.194 MB / 1.292 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/9.892, allocations: 7.125 kB / 1.292 GB, free: 3.078 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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: 16.392926307045855] Failed to read output from testmodel.py, exit status != 0: 10.019319162995089 10.034580302 9.068589453 Calling exit ...