Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00142/0.00142, allocations: 101.3 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.001608/0.001608, allocations: 218.1 kB / 23.03 MB, free: 4.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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.877/2.877, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 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.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_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.001979/0.001979, allocations: 62.91 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3369, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002305/0.3392, allocations: 0.7293 MB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3409, allocations: 1.165 MB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.341, allocations: 0 / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.341, allocations: 7.875 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.3411, allocations: 15.92 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.3417, allocations: 127.3 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3419, allocations: 119.8 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3421, allocations: 25.31 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3422, allocations: 47.86 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3423, allocations: 47.86 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.3423, allocations: 12 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.3424, allocations: 20 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3424, allocations: 11.92 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.3425, allocations: 35.91 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3427, allocations: 115.2 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3428, allocations: 4 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3428, allocations: 3.938 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3428, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 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.0006754/0.3434, allocations: 335.8 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3435, allocations: 12.03 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.42e-05/0.3435, allocations: 192 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3436, allocations: 34.75 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.3436, allocations: 16.89 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3437, allocations: 122.4 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3437, allocations: 4.375 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3438, allocations: 8.375 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.344, allocations: 65.97 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.344, allocations: 7.984 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.344, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.344, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3442, allocations: 39.95 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.3448, allocations: 287.8 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.345, allocations: 50.55 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3451, allocations: 41.02 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3451, allocations: 0 / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.3454, allocations: 91.3 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3454, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004674/0.3458, allocations: 137.6 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3459, allocations: 55.41 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.346, allocations: 129.8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.346, allocations: 25.7 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.3461, allocations: 88.14 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3461, allocations: 27.89 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.3462, allocations: 37.7 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3464, allocations: 326.8 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3466, allocations: 77.67 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3468, allocations: 113.9 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3471, allocations: 146.2 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3471, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005246/0.3476, allocations: 244.9 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.3477, allocations: 37.81 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3477, allocations: 4 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3477, allocations: 3.938 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.3478, allocations: 8 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3478, allocations: 7.984 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.348, allocations: 35.92 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.348, allocations: 7.984 kB / 1.289 GB, free: 5.344 MB / 0.9825 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.0001133/0.3482, allocations: 125.8 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.3482, allocations: 15.88 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.3482, allocations: 8.312 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3482, allocations: 4 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3482, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3482, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.3487, allocations: 341.5 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3487, allocations: 0 / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.3488, allocations: 15.92 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3488, allocations: 4 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3488, allocations: 8.062 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3488, allocations: 0 / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3488, allocations: 7.938 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.3491, allocations: 199.5 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.3491, allocations: 11.89 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3492, allocations: 4 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.3492, allocations: 7.984 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3493, allocations: 15.92 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3493, allocations: 0 / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.716e-05/0.3494, allocations: 99.81 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002726/0.3496, allocations: 24 kB / 1.29 GB, free: 4.391 MB / 0.9825 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.0007664/0.3504, allocations: 0.7401 MB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3509, allocations: 197 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3509, allocations: 0 / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.351, allocations: 35.91 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.3513, allocations: 22.22 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3536, allocations: 1.824 MB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.3537, allocations: 75.58 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.3538, allocations: 4 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.3538, allocations: 23.42 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3538, allocations: 0 / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3783, allocations: 2.843 MB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 9.094 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.63796393200755] Failed to read output from testmodel.py, exit status != 0: 12.501937772962265 12.02911059 11.682135188 Calling exit ...