Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.001382/0.001382, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001587/0.001587, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.934/2.934, allocations: 476.7 MB / 0.7678 GB, free: 9.414 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.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.002329/0.002329, allocations: 69.55 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9084, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003034/0.9114, allocations: 1.549 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.9131, allocations: 0.8388 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.9131, allocations: 0 / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.9132, allocations: 6.031 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.9133, allocations: 15.16 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.9139, allocations: 147.7 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.914, allocations: 101.2 kB / 1.282 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.9141, allocations: 10.36 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.9143, allocations: 56.39 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.9144, allocations: 48.8 kB / 1.282 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.9144, allocations: 7.812 kB / 1.282 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.9147, allocations: 111.7 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.9147, allocations: 33.39 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.9148, allocations: 39.36 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.9152, allocations: 168.6 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9152, allocations: 0.5938 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9152, allocations: 4 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9152, allocations: 0.5 kB / 1.282 GB, free: 9.754 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008982/0.9161, allocations: 0.4921 MB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9161, allocations: 10.16 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.684e-05/0.9161, allocations: 1.312 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.9162, allocations: 45.19 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.9165, allocations: 40.23 kB / 1.283 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.9168, allocations: 189.5 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.9168, allocations: 6.656 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.9168, allocations: 4.953 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.917, allocations: 80.31 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.917, allocations: 0 / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.917, allocations: 5.594 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.9171, allocations: 4.5 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.9172, allocations: 52.94 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.9179, allocations: 335.2 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.9181, allocations: 74.84 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.9182, allocations: 42.2 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.9182, allocations: 1.406 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.9184, allocations: 96.45 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.9184, allocations: 0 / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0004941/0.9189, allocations: 179.8 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.919, allocations: 54.02 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.9191, allocations: 143 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.9192, allocations: 27.77 kB / 1.284 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.9192, allocations: 96.22 kB / 1.284 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.9193, allocations: 30.19 kB / 1.284 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.9193, allocations: 36.42 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9195, allocations: 325.2 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.9196, allocations: 28.91 kB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.9197, allocations: 74.67 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.9199, allocations: 103.7 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.9199, allocations: 13.31 kB / 1.284 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002862/0.9202, allocations: 138.6 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.9202, allocations: 6 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.9202, allocations: 1.188 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9202, allocations: 6.375 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.9203, allocations: 20.06 kB / 1.285 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9203, allocations: 3.016 kB / 1.285 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.9205, allocations: 13.55 kB / 1.285 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.9205, allocations: 12.42 kB / 1.285 GB, free: 7.477 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001111/0.9206, allocations: 125.7 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.9206, allocations: 8.953 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.921, allocations: 156.9 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.921, allocations: 1.406 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.921, allocations: 0.7031 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.921, allocations: 2.234 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.9218, allocations: 453.3 kB / 1.285 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9218, allocations: 0.75 kB / 1.285 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.9218, allocations: 15.62 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9219, allocations: 0.6094 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.9219, allocations: 11.62 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.9219, allocations: 0 / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9219, allocations: 1 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.9222, allocations: 250.7 kB / 1.286 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.9223, allocations: 91.73 kB / 1.286 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.9223, allocations: 2.016 kB / 1.286 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.9225, allocations: 12.12 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.9225, allocations: 9.344 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.9225, allocations: 5.234 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.9226, allocations: 102 kB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9226, allocations: 4 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004546/0.9231, allocations: 43.92 kB / 1.286 GB, free: 6.516 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.001041/0.9241, allocations: 0.8544 MB / 1.287 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.9244, allocations: 93.91 kB / 1.287 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9244, allocations: 0 / 1.287 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.9245, allocations: 49.64 kB / 1.287 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.9249, allocations: 15.94 kB / 1.287 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.927, allocations: 1.658 MB / 1.288 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.9274, allocations: 0.6963 MB / 1.289 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.9275, allocations: 13.34 kB / 1.289 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.9276, allocations: 29.73 kB / 1.289 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.9276, allocations: 0 / 1.289 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.9521, allocations: 3.412 MB / 1.293 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.641, allocations: 14.55 kB / 1.293 GB, free: 3 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.069376234023366] Failed to read output from testmodel.py, exit status != 0: 9.773276125022676 9.79745921 8.877819252 Calling exit ...