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.001668/0.001668, allocations: 97.31 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.002249/0.002249, allocations: 219 kB / 23.03 MB, free: 4.922 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.836/2.836, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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.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.001908/0.001908, allocations: 67.78 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3368, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002712/0.3396, allocations: 1.528 MB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3411, allocations: 0.7692 MB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.3411, allocations: 11.88 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.3411, allocations: 3.938 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.3412, allocations: 23.72 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.3418, allocations: 155.6 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3419, allocations: 99.7 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.342, allocations: 16.22 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3422, allocations: 51.78 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.3423, allocations: 47.83 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.3423, allocations: 8 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.3426, allocations: 143.7 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.3426, allocations: 23.91 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.3427, allocations: 31.86 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.343, allocations: 175 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.343, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.343, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.343, allocations: 4 kB / 1.287 GB, free: 7.523 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00076/0.3437, allocations: 422.9 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3438, allocations: 11.97 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.927e-05/0.3438, allocations: 192 / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.3438, allocations: 34.75 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.3442, allocations: 36.86 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3444, allocations: 142.3 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3444, allocations: 8.375 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3444, allocations: 8.375 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3446, allocations: 81.58 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3447, allocations: 3.984 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3447, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3447, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3448, allocations: 55.91 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3454, allocations: 287.8 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3456, allocations: 78.77 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.3457, allocations: 40.78 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3457, allocations: 4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.3459, allocations: 103.3 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3459, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004756/0.3464, allocations: 177.5 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.3465, allocations: 55.34 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3466, allocations: 141.7 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3466, allocations: 33.64 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.3467, allocations: 92.09 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3467, allocations: 35.83 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.3468, allocations: 33.7 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3469, allocations: 326.8 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.347, allocations: 31.92 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3471, allocations: 69.12 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3473, allocations: 105.1 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3473, allocations: 0 / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002727/0.3476, allocations: 141.4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3476, allocations: 4 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3476, allocations: 4 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3476, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3478, allocations: 19.92 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3478, allocations: 4.094 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3479, allocations: 15.98 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3479, allocations: 11.94 kB / 1.29 GB, free: 4.707 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,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.0001084/0.348, allocations: 128.3 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.348, allocations: 11.95 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.3484, allocations: 158.3 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3484, allocations: 7.938 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3484, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3484, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.349, allocations: 419.1 kB / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.349, allocations: 0 / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.3491, allocations: 15.98 kB / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3491, allocations: 0 / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3491, allocations: 7.938 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3491, allocations: 0 / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3491, allocations: 3.984 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.3495, allocations: 243.4 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.3495, allocations: 19.88 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3495, allocations: 8 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3496, allocations: 7.984 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3497, allocations: 7.984 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3497, allocations: 8 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.3498, allocations: 101.4 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3498, allocations: 0 / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003396/0.3501, allocations: 47.94 kB / 1.291 GB, free: 3.457 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 (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.0009156/0.351, allocations: 0.8563 MB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3513, allocations: 87.89 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3513, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3514, allocations: 47.91 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3517, allocations: 24.44 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3536, allocations: 1.65 MB / 1.293 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.3537, allocations: 81.33 kB / 1.293 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.3538, allocations: 20.34 kB / 1.293 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.3539, allocations: 35.42 kB / 1.293 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3539, allocations: 0 / 1.293 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.3784, allocations: 3.643 MB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 5.781 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.85444187989924] Failed to read output from testmodel.py, exit status != 0: 12.727972345077433 12.187003946 11.838514194 Calling exit ...