Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.00153/0.00153, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001564/0.001564, allocations: 215 kB / 20.13 MB, free: 2.949 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.978/2.978, allocations: 476.7 MB / 0.7678 GB, free: 9.426 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.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.002609/0.002609, allocations: 67.94 kB / 1.113 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8928/0.8954, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002889/0.8983, allocations: 1.544 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.8998, allocations: 0.8575 MB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.8998, allocations: 1.156 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.8999, allocations: 9.375 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.9, allocations: 11.28 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.9005, allocations: 151.3 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.9007, allocations: 95.98 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.9008, allocations: 10.3 kB / 1.282 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.9009, allocations: 42.56 kB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.901, allocations: 49.52 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.9011, allocations: 7.5 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.9014, allocations: 112.5 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.9014, allocations: 21.48 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.9015, allocations: 37.55 kB / 1.282 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.9018, allocations: 170 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9019, allocations: 5.219 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9019, allocations: 0.5938 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.9019, allocations: 0 / 1.282 GB, free: 9.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009421/0.9028, allocations: 476.9 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.9029, allocations: 14.58 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.484e-05/0.9029, allocations: 1.188 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.9029, allocations: 37.55 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.9032, allocations: 30.92 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.9035, allocations: 199.4 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.434e-05/0.9036, allocations: 40.75 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.9036, allocations: 9.844 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.9039, allocations: 74.48 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9039, allocations: 0 / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.9039, allocations: 0.7031 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9039, allocations: 5.562 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.9041, allocations: 48.97 kB / 1.283 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.9049, allocations: 316.5 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.9051, allocations: 66.2 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.9052, allocations: 43.09 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.9053, allocations: 2.094 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.9055, allocations: 103.3 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.9055, allocations: 0 / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0005702/0.9061, allocations: 170.8 kB / 1.284 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.9061, allocations: 54.86 kB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.9063, allocations: 138.2 kB / 1.284 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.9063, allocations: 31.02 kB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.9064, allocations: 103.1 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.9064, allocations: 24.14 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.9065, allocations: 36.23 kB / 1.284 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9066, allocations: 327.4 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.9068, allocations: 31.88 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.9069, allocations: 69.89 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.9071, allocations: 109.6 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9071, allocations: 0 / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003286/0.9075, allocations: 142.1 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9075, allocations: 5.219 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.9075, allocations: 1.406 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9075, allocations: 2.375 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9076, allocations: 16.66 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.9077, allocations: 5.188 kB / 1.285 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.9078, allocations: 23.78 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.9078, allocations: 4.859 kB / 1.285 GB, free: 7.531 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,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.0001179/0.9079, allocations: 135 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.9079, allocations: 12.56 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.908, allocations: 15.88 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.908, allocations: 1.125 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.908, allocations: 1.156 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.908, allocations: 4.734 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.9087, allocations: 427 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.9087, allocations: 0 / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.9088, allocations: 14.42 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9088, allocations: 0.6094 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.9088, allocations: 6.484 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9088, allocations: 2.016 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9088, allocations: 0 / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.9093, allocations: 229.2 kB / 1.285 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.9093, allocations: 88.58 kB / 1.285 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.9094, allocations: 9.578 kB / 1.285 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.9095, allocations: 10.72 kB / 1.286 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.9095, allocations: 12.38 kB / 1.286 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.9096, allocations: 9.438 kB / 1.286 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.9096, allocations: 101.4 kB / 1.286 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9096, allocations: 4 kB / 1.286 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003527/0.91, allocations: 41.44 kB / 1.286 GB, free: 6.645 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 (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 (10): * Single equations (assignments): 7 * 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.001004/0.911, allocations: 0.8224 MB / 1.286 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.9113, allocations: 92.28 kB / 1.287 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9113, allocations: 1.062 kB / 1.287 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.9115, allocations: 44.08 kB / 1.287 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.9118, allocations: 20.25 kB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.9139, allocations: 1.641 MB / 1.288 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9143, allocations: 0.7001 MB / 1.289 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.559e-05/0.9143, allocations: 8.188 kB / 1.289 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.9144, allocations: 28.5 kB / 1.289 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.9144, allocations: 0 / 1.289 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.9352, allocations: 3.198 MB / 1.292 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/9.585, allocations: 13.53 kB / 1.292 GB, free: 3.203 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.1401455180021] Failed to read output from testmodel.py, exit status != 0: 9.71157361898804 9.736710585 8.83011235 Calling exit ...