Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7629 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 64.08 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.181, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003137/1.184, allocations: 1.572 MB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00176/1.186, allocations: 0.7885 MB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/1.186, allocations: 0.9062 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/1.186, allocations: 10.08 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/1.186, allocations: 16.14 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/1.187, allocations: 133.3 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/1.187, allocations: 98.58 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/1.187, allocations: 15.11 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/1.187, allocations: 43.97 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/1.187, allocations: 47.06 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/1.187, allocations: 7.688 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/1.188, allocations: 106.5 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/1.188, allocations: 25.56 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/1.188, allocations: 39.81 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/1.188, allocations: 164.1 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.188, allocations: 1.094 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.188, allocations: 0 / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.188, allocations: 0 / 1.274 GB, free: 5.797 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.000765/1.189, allocations: 0.5067 MB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.189, allocations: 9.531 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/1.189, allocations: 44.08 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/1.189, allocations: 9.359 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.189, allocations: 182.8 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.189, allocations: 6.594 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/1.189, allocations: 8.531 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/1.189, allocations: 89 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.189, allocations: 3.938 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.189, allocations: 4.844 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/1.189, allocations: 1.5 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/1.189, allocations: 47.58 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/1.19, allocations: 328.3 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/1.19, allocations: 84.8 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/1.19, allocations: 32.61 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/1.19, allocations: 1.625 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/1.191, allocations: 100.3 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/1.191, allocations: 4 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0004463/1.191, allocations: 179 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/1.191, allocations: 55.88 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.191, allocations: 143 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.191, allocations: 26.67 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/1.191, allocations: 101.8 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/1.191, allocations: 25.48 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/1.191, allocations: 40.62 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/1.191, allocations: 325.8 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/1.191, allocations: 28.27 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/1.192, allocations: 69.69 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/1.192, allocations: 113.7 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.192, allocations: 0 / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002413/1.192, allocations: 136.1 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.192, allocations: 6.938 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.192, allocations: 1.734 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.192, allocations: 11.41 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.192, allocations: 20 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/1.192, allocations: 2.094 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/1.192, allocations: 13.44 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.192, allocations: 7.438 kB / 1.277 GB, free: 3.527 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 7.843e-05/1.192, allocations: 127.9 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/1.192, allocations: 13.62 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/1.193, allocations: 171.8 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.193, allocations: 1.844 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.193, allocations: 0.9375 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.193, allocations: 5.203 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/1.193, allocations: 458.1 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.193, allocations: 3.938 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/1.193, allocations: 25.72 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.193, allocations: 5.812 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.193, allocations: 2 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/1.193, allocations: 6.328 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.193, allocations: 0 / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/1.194, allocations: 245.6 kB / 1.278 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/1.194, allocations: 89.67 kB / 1.278 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.194, allocations: 5.875 kB / 1.278 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/1.194, allocations: 15.91 kB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/1.194, allocations: 14.3 kB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/1.194, allocations: 5.531 kB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.273e-05/1.194, allocations: 104.7 kB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.194, allocations: 0 / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003514/1.194, allocations: 44.05 kB / 1.278 GB, free: 2.539 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 (14): * Single equations (assignments): 11 * 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.0008202/1.195, allocations: 0.8475 MB / 1.279 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003036/1.195, allocations: 87.45 kB / 1.279 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.195, allocations: 4.125 kB / 1.279 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/1.196, allocations: 51.11 kB / 1.279 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/1.196, allocations: 35.81 kB / 1.279 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/1.198, allocations: 1.691 MB / 1.281 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/1.198, allocations: 0.7053 MB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.58e-05/1.198, allocations: 7.828 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/1.199, allocations: 36.81 kB / 1.282 GB, free: 15.6 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.199, allocations: 0 / 1.282 GB, free: 15.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/1.227, allocations: 3.48 MB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/9.285, allocations: 10.03 kB / 1.285 GB, free: 15.04 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.605362928996328] Failed to read output from testmodel.py, exit status != 0: 9.360521208000137 9.387353908 8.195632056 Calling exit ...