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.001343/0.001343, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001548/0.001548, allocations: 217.9 kB / 23.04 MB, free: 5.078 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 / 256.8 MB, free: 8.008 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.803/2.803, allocations: 476.7 MB / 0.7715 GB, free: 4.285 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.001995/0.001995, allocations: 64.89 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002813/0.3318, allocations: 1.561 MB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3334, allocations: 0.8314 MB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.3334, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.3334, allocations: 3.938 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.3335, allocations: 23.73 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.3341, allocations: 155.5 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3342, allocations: 103.7 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.3343, allocations: 12.23 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3344, allocations: 59.77 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.3345, allocations: 43.83 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3345, allocations: 8 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.3348, allocations: 147.7 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.3348, allocations: 19.92 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.3349, allocations: 43.78 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.3352, allocations: 171 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.3352, allocations: 0 / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3352, allocations: 4 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3352, allocations: 0 / 1.287 GB, free: 8.441 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.000817/0.336, allocations: 422.9 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.336, allocations: 8.031 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.3361, allocations: 4.188 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.3361, allocations: 42.67 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.3364, allocations: 36.83 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.3367, allocations: 132.6 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3367, allocations: 8.375 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3368, allocations: 4.375 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.337, allocations: 81.58 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.337, allocations: 7.938 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.337, allocations: 4 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.337, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3372, allocations: 55.95 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.3378, allocations: 307.7 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.3381, allocations: 74.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.3382, allocations: 36.84 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3382, allocations: 11.98 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3384, allocations: 95.3 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3384, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005109/0.3389, allocations: 177.5 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.339, allocations: 55.41 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3392, allocations: 137.7 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.3392, allocations: 29.64 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.3393, allocations: 100.1 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.3393, allocations: 27.78 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.3394, allocations: 37.7 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3396, allocations: 326.8 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.3397, allocations: 27.98 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3398, allocations: 77.06 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.34, allocations: 109 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.34, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002681/0.3403, allocations: 145.4 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3403, allocations: 10.34 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3403, allocations: 0 / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3403, allocations: 4 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3404, allocations: 15.98 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3404, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.3405, allocations: 8 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3406, allocations: 16 kB / 1.29 GB, free: 5.613 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.0001108/0.3407, allocations: 129.8 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3407, allocations: 7.953 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.3411, allocations: 169.9 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3411, allocations: 4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3411, allocations: 0 / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3411, allocations: 3.984 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.3417, allocations: 417.4 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3417, allocations: 0 / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.3418, allocations: 19.92 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3418, allocations: 0 / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3418, allocations: 3.938 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3418, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3418, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3422, allocations: 251.6 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.3422, allocations: 15.88 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3422, allocations: 12 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3423, allocations: 7.984 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3424, allocations: 11.97 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3424, allocations: 8 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.3425, allocations: 95.27 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3425, allocations: 0 / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003399/0.3428, allocations: 59.86 kB / 1.291 GB, free: 4.34 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.0009384/0.3438, allocations: 0.8351 MB / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.344, allocations: 87.89 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.344, allocations: 0 / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3441, allocations: 54.16 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3445, allocations: 15.98 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.3464, allocations: 1.652 MB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3467, allocations: 0.6963 MB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.039e-05/0.3467, allocations: 16.62 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.3468, allocations: 31.42 kB / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3468, allocations: 0 / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3721, allocations: 3.563 MB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.82, allocations: 12.52 kB / 1.298 GB, free: 13.4 MB / 0.9981 GB " [Timeout remaining time 287] (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.587739310984034] Failed to read output from testmodel.py, exit status != 0: 12.552568759012502 12.004628735 11.666345793 Calling exit ...