Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001551/0.001551, allocations: 113.9 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.001538/0.001538, allocations: 210.2 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.532/1.532, 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 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 2.962/2.962, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.Edge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_12_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.002034/0.002034, allocations: 71.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001782/1.007, allocations: 0.733 MB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001109/1.009, allocations: 1.188 MB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/1.009, allocations: 0 / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/1.009, allocations: 10.16 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/1.009, allocations: 11.86 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/1.009, allocations: 147.1 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/1.009, allocations: 110.2 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/1.009, allocations: 14.34 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/1.009, allocations: 51.14 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/1.01, allocations: 48.8 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/1.01, allocations: 11.41 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/1.01, allocations: 24.12 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/1.01, allocations: 13.56 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/1.01, allocations: 41.02 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/1.01, allocations: 110.1 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.01, allocations: 4 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.02e-07/1.01, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.579e-06/1.01, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 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.0004612/1.01, allocations: 417.7 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/1.01, allocations: 14.55 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/1.01, allocations: 7.062 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.764e-05/1.01, allocations: 38.08 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/1.01, allocations: 10.55 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/1.01, allocations: 171.2 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.01, allocations: 7.203 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/1.01, allocations: 12 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/1.011, allocations: 68.95 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.011, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/1.011, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.011, allocations: 2.812 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/1.011, allocations: 45.45 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/1.011, allocations: 329.5 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/1.011, allocations: 55.06 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/1.011, allocations: 35.66 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/1.011, allocations: 4 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/1.012, allocations: 96.83 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/1.012, allocations: 0 / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004097/1.012, allocations: 137.8 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/1.012, allocations: 58.25 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/1.012, allocations: 118.7 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.012, allocations: 36.03 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/1.012, allocations: 87.02 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/1.012, allocations: 18.7 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/1.012, allocations: 41.66 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/1.012, allocations: 320.5 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.013, allocations: 55.56 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/1.013, allocations: 86.25 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/1.013, allocations: 142.9 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.013, allocations: 3.938 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003896/1.013, allocations: 209.7 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.013, allocations: 37.42 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.013, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.013, allocations: 2.875 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/1.013, allocations: 19.89 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.013, allocations: 0 / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/1.014, allocations: 39.64 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/1.014, allocations: 8.312 kB / 1.327 GB, free: 20.91 MB / 1.061 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 6.586e-05/1.014, allocations: 126.5 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/1.014, allocations: 10.83 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/1.014, allocations: 11.7 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.014, allocations: 2.719 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.014, allocations: 0 / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.014, allocations: 0 / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/1.014, allocations: 374 kB / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.014, allocations: 0 / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/1.014, allocations: 12.66 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.014, allocations: 6.844 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/1.014, allocations: 0 / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.014, allocations: 0 / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.014, allocations: 3.938 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/1.014, allocations: 209.6 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/1.014, allocations: 84.03 kB / 1.327 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/1.014, allocations: 11.23 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/1.015, allocations: 5.438 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/1.015, allocations: 9.438 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/1.015, allocations: 2.281 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.038e-05/1.015, allocations: 92.69 kB / 1.327 GB, free: 20.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.015, allocations: 0 / 1.327 GB, free: 20.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000254/1.015, allocations: 30 kB / 1.328 GB, free: 20.07 MB / 1.061 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.0004317/1.015, allocations: 0.753 MB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003602/1.016, allocations: 158.2 kB / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.016, allocations: 256 / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/1.016, allocations: 40.45 kB / 1.328 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/1.016, allocations: 27.28 kB / 1.328 GB, free: 19.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/1.018, allocations: 1.691 MB / 1.33 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/1.018, allocations: 0.691 MB / 1.331 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.278e-05/1.018, allocations: 12.33 kB / 1.331 GB, free: 17.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/1.018, allocations: 23.72 kB / 1.331 GB, free: 17.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.018, allocations: 0 / 1.331 GB, free: 17.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.038, allocations: 2.581 MB / 1.333 GB, free: 16.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.438, allocations: 11.91 kB / 1.333 GB, free: 16.64 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.917793850007001] Failed to read output from testmodel.py, exit status != 0: 9.586455743003171 9.610157533 8.59626694 Calling exit ...