Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001731/0.001731, allocations: 97.88 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.002109/0.002109, allocations: 217.5 kB / 23.03 MB, free: 4.918 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.804/2.804, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 177] 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.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.002018/0.002018, allocations: 63.55 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003588/0.3586, allocations: 1.524 MB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3605, allocations: 0.8002 MB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.3606, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.3607, allocations: 7.875 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3608, allocations: 19.84 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.3616, allocations: 147.5 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3618, allocations: 83.77 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3619, allocations: 12 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3621, allocations: 51.77 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.3622, allocations: 39.84 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3622, allocations: 4 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.3626, allocations: 151.7 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.3626, allocations: 19.92 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.3626, allocations: 27.86 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.363, allocations: 167 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.363, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.363, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.363, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 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.0008744/0.3639, allocations: 401 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3639, allocations: 8.031 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/0.364, allocations: 4.188 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.364, allocations: 34.73 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.3643, allocations: 24.88 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3647, allocations: 138.4 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3647, allocations: 4.375 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3647, allocations: 4.375 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3649, allocations: 85.45 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3649, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3649, allocations: 4 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3649, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3651, allocations: 39.97 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.3657, allocations: 283.8 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3659, allocations: 58.59 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.366, allocations: 40.83 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.366, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.3662, allocations: 87.36 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.3662, allocations: 4 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000455/0.3667, allocations: 153.5 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.3667, allocations: 59.39 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3669, allocations: 132 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3669, allocations: 37.69 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.367, allocations: 92.33 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.367, allocations: 23.8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.3671, allocations: 29.7 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3673, allocations: 326.8 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.3673, allocations: 27.98 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3675, allocations: 65.88 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3677, allocations: 101.1 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3677, allocations: 0 / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000277/0.3679, allocations: 133.5 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3679, allocations: 6.406 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.368, allocations: 11.94 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.368, allocations: 3.984 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3681, allocations: 19.92 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3681, allocations: 8.062 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3682, allocations: 15.95 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3682, allocations: 7.984 kB / 1.289 GB, free: 5 MB / 0.9825 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.0001199/0.3684, allocations: 131.2 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3684, allocations: 7.953 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.3687, allocations: 146 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3688, allocations: 4 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3688, allocations: 0 / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3688, allocations: 4 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.3695, allocations: 389.5 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3695, allocations: 3.984 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.3696, allocations: 8 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3696, allocations: 4 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3696, allocations: 3.984 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3696, allocations: 3.938 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3696, allocations: 0 / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.3699, allocations: 235.3 kB / 1.29 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.3699, allocations: 7.953 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.37, allocations: 3.984 kB / 1.29 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3701, allocations: 11.94 kB / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3702, allocations: 11.97 kB / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3702, allocations: 4 kB / 1.29 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.769e-05/0.3703, allocations: 103.3 kB / 1.29 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3703, allocations: 0 / 1.29 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003472/0.3706, allocations: 43.86 kB / 1.29 GB, free: 3.812 MB / 0.9825 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.001036/0.3716, allocations: 0.8381 MB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.3719, allocations: 79.89 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3719, allocations: 0 / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.372, allocations: 43.91 kB / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3723, allocations: 24.17 kB / 1.291 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3746, allocations: 1.596 MB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.547e-05/0.3747, allocations: 83.88 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.346e-05/0.3747, allocations: 8.438 kB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.3748, allocations: 31.42 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3748, allocations: 0 / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4064, allocations: 3.425 MB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 2.641 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.881027206080034] Failed to read output from testmodel.py, exit status != 0: 12.823611655971035 12.279420461 11.910821765 Calling exit ...