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.001556/0.001556, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001896/0.001896, allocations: 218.1 kB / 23.04 MB, free: 5.074 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 8 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.211/3.211, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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.002042/0.002042, allocations: 69.12 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4028, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002159/0.405, allocations: 0.738 MB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.407, allocations: 1.303 MB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.407, allocations: 4 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.407, allocations: 7.875 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.4071, allocations: 15.84 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.4079, allocations: 249.6 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.4082, allocations: 251.5 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4083, allocations: 20.16 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4084, allocations: 103.9 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.4086, allocations: 95.69 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.4087, allocations: 27.94 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.4087, allocations: 35.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.4088, allocations: 31.97 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.4089, allocations: 87.75 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.4092, allocations: 231.5 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4092, allocations: 0 / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4092, allocations: 0 / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4092, allocations: 4 kB / 1.33 GB, free: 14.77 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.000785/0.41, allocations: 425.2 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4101, allocations: 12.03 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.538e-05/0.4101, allocations: 192 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.4101, allocations: 42.73 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.4102, allocations: 20.88 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.4108, allocations: 194.3 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.4108, allocations: 12.36 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.4108, allocations: 20.38 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4111, allocations: 135.4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4111, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4111, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4111, allocations: 4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4113, allocations: 67.83 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.4121, allocations: 499.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.4124, allocations: 137.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.4125, allocations: 53.69 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4125, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.4129, allocations: 204.8 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.4129, allocations: 0 / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006459/0.4136, allocations: 317.6 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.4137, allocations: 85.2 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4138, allocations: 130 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.4138, allocations: 41.7 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.4139, allocations: 104.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.414, allocations: 51.64 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.4141, allocations: 73.69 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4143, allocations: 322.8 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4145, allocations: 88.23 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.4147, allocations: 152.2 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.4151, allocations: 252.7 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4151, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006177/0.4157, allocations: 360.7 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.4157, allocations: 63.41 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4157, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4158, allocations: 11.92 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.4159, allocations: 20.16 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4159, allocations: 8 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.4162, allocations: 67.81 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.4163, allocations: 16 kB / 1.334 GB, free: 10.52 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.0001729/0.4164, allocations: 153.1 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.4165, allocations: 19.91 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.4165, allocations: 20.42 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4165, allocations: 3.938 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.4165, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4165, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/0.4173, allocations: 0.5838 MB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4173, allocations: 3.984 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.4173, allocations: 7.938 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4173, allocations: 8 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.4174, allocations: 7.984 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4174, allocations: 4 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4174, allocations: 0 / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.4178, allocations: 420.6 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.4179, allocations: 11.95 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.4179, allocations: 7.938 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.418, allocations: 19.98 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.4181, allocations: 23.95 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.4181, allocations: 15.98 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.107e-05/0.4182, allocations: 96.39 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4182, allocations: 0 / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003571/0.4186, allocations: 63.92 kB / 1.335 GB, free: 8.992 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.0008462/0.4194, allocations: 0.9664 MB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.4199, allocations: 310.6 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4199, allocations: 0 / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4201, allocations: 90.5 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.4205, allocations: 32.97 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.4234, allocations: 2.293 MB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4238, allocations: 0.7047 MB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.182e-05/0.4238, allocations: 17.48 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.4239, allocations: 39.42 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4239, allocations: 0 / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.4499, allocations: 4.377 MB / 1.344 GB, free: 124 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.59, allocations: 8.062 kB / 1.344 GB, free: 116 kB / 1.029 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.568482605041936] Failed to read output from testmodel.py, exit status != 0: 11.755772211996373 11.772023302 11.359542435 Calling exit ...