Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001332/0.001332, allocations: 113 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.001639/0.001639, allocations: 213.6 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.385/3.385, allocations: 0.5003 GB / 0.8062 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.001982/0.001982, allocations: 67.36 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002303/0.345, allocations: 0.7442 MB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3468, allocations: 1.186 MB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.3468, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.3469, allocations: 15.81 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.3469, allocations: 11.91 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.3475, allocations: 130.6 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3477, allocations: 111.8 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3478, allocations: 15.98 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.348, allocations: 55.83 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3481, allocations: 43.83 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3481, allocations: 8 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.3482, allocations: 35.97 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.3482, allocations: 11.92 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.3483, allocations: 39.86 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3485, allocations: 112 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3485, allocations: 0 / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3485, allocations: 0 / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3485, allocations: 0 / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006566/0.3492, allocations: 335.8 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3492, allocations: 8.031 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.3492, allocations: 12.12 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.3493, allocations: 34.75 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.3493, allocations: 8.891 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3494, allocations: 122.4 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3495, allocations: 8.359 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3495, allocations: 12.38 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3497, allocations: 57.98 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3497, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3497, allocations: 15.98 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3497, allocations: 0 / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3499, allocations: 35.97 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3504, allocations: 303.7 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3506, allocations: 58.61 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3507, allocations: 32.97 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.3508, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.3511, allocations: 91.36 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3511, allocations: 0 / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004668/0.3515, allocations: 145.6 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3516, allocations: 51.41 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3517, allocations: 117.8 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3517, allocations: 33.7 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.3518, allocations: 92.12 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3518, allocations: 27.78 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.3519, allocations: 41.64 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.352, allocations: 326.8 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3522, allocations: 51.95 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3524, allocations: 102.6 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3527, allocations: 141.9 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3527, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004798/0.3532, allocations: 211.3 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3532, allocations: 37.64 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3532, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3532, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.3533, allocations: 15.98 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3533, allocations: 4 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.3536, allocations: 31.95 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3536, allocations: 4.312 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001157/0.3537, allocations: 138.4 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.3537, allocations: 7.953 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.3537, allocations: 4.375 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3537, allocations: 4 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3537, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3537, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.3542, allocations: 353.5 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3542, allocations: 0 / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.3543, allocations: 15.92 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3543, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.3543, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3543, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3543, allocations: 3.938 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3547, allocations: 215.4 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.3547, allocations: 7.891 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3547, allocations: 4 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3548, allocations: 7.984 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.3549, allocations: 11.92 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3549, allocations: 4 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.3549, allocations: 91.27 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3549, allocations: 0 / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002737/0.3552, allocations: 27.94 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007129/0.3559, allocations: 0.7475 MB / 1.352 GB, free: 9.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3563, allocations: 163.3 kB / 1.352 GB, free: 9.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3563, allocations: 0 / 1.352 GB, free: 9.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3565, allocations: 39.91 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3568, allocations: 20.05 kB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.3594, allocations: 1.688 MB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3598, allocations: 0.6885 MB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.3598, allocations: 7.781 kB / 1.354 GB, free: 6.648 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.3599, allocations: 23.42 kB / 1.354 GB, free: 6.625 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.3599, allocations: 0 / 1.354 GB, free: 6.625 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3843, allocations: 2.722 MB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 21.34 kB / 1.357 GB, free: 4.035 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.65517294203164] Failed to read output from testmodel.py, exit status != 0: 11.754592393001076 11.770669894 11.418997516 Calling exit ...