Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001339/0.001339, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001574/0.001574, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.001946/0.001946, allocations: 67.22 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4027, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001971/0.4046, allocations: 0.7195 MB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.4064, allocations: 1.287 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.4064, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.4065, allocations: 7.875 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.4065, allocations: 19.86 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.4072, allocations: 239.6 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.4075, allocations: 259.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.4076, allocations: 16.22 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4077, allocations: 99.81 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.4079, allocations: 99.67 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.4079, allocations: 24 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.408, allocations: 43.98 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.408, allocations: 23.97 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.4082, allocations: 83.75 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.4084, allocations: 223.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4084, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4084, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4085, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000714/0.4092, allocations: 433.2 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4092, allocations: 12.03 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.633e-05/0.4092, allocations: 4.188 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.4093, allocations: 38.73 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.4093, allocations: 24.83 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.4099, allocations: 186.5 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.4099, allocations: 12.38 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.41, allocations: 20.36 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.4102, allocations: 140 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4102, allocations: 7.938 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.4102, allocations: 4 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.4102, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.4104, allocations: 59.95 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.4111, allocations: 455.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.4114, allocations: 137.1 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.4115, allocations: 53.69 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.4115, allocations: 11.94 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.4119, allocations: 197.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.4119, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005846/0.4125, allocations: 329.6 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.4126, allocations: 81.11 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4127, allocations: 134 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.4127, allocations: 41.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.4128, allocations: 100.6 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.4129, allocations: 51.78 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.413, allocations: 69.69 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4131, allocations: 330.8 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.4134, allocations: 139.6 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.4136, allocations: 215.6 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.414, allocations: 250.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.414, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006422/0.4146, allocations: 428 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.4147, allocations: 63.39 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4147, allocations: 7.984 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4147, allocations: 12.16 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.4148, allocations: 23.92 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4148, allocations: 4.375 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.4152, allocations: 63.83 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.4152, allocations: 19.98 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001464/0.4153, allocations: 144.3 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4154, allocations: 19.84 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.4154, allocations: 12.44 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4154, allocations: 7.938 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4154, allocations: 0 / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4154, allocations: 7.984 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.4161, allocations: 0.5734 MB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4161, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.4162, allocations: 11.94 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4162, allocations: 0 / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4162, allocations: 15.98 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4162, allocations: 3.938 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4162, allocations: 4 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.4167, allocations: 428.1 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.4167, allocations: 11.95 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.4168, allocations: 15.92 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4169, allocations: 11.98 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.417, allocations: 23.95 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.417, allocations: 12 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.4171, allocations: 99.27 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4171, allocations: 4 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003613/0.4174, allocations: 59.92 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008401/0.4183, allocations: 0.9794 MB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005514/0.4188, allocations: 370 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4188, allocations: 3.938 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.419, allocations: 95.62 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.4194, allocations: 32.97 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.4223, allocations: 2.53 MB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.76e-05/0.4224, allocations: 92.75 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.4225, allocations: 21.42 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.4226, allocations: 39.42 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4226, allocations: 0 / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.449, allocations: 4.56 MB / 1.344 GB, free: 15.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.85, allocations: 18.81 kB / 1.344 GB, free: 15.64 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.881250813021325] Failed to read output from testmodel.py, exit status != 0: 12.01313802797813 12.02959069 11.617793325 Calling exit ...