Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.00127/0.00127, allocations: 101.8 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.001555/0.001555, allocations: 211.3 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.263/3.263, 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.FallingEdge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.002707/0.002707, allocations: 63.16 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3485, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001935/0.3504, allocations: 0.7605 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.352, allocations: 1.19 MB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3521, allocations: 0 / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.3521, allocations: 11.94 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.3522, allocations: 7.844 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.3527, allocations: 141.4 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3528, allocations: 111.8 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.3529, allocations: 11.98 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.353, allocations: 51.91 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.3531, allocations: 51.75 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3531, allocations: 8 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.641e-05/0.3532, allocations: 27.98 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3532, allocations: 15.92 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.3533, allocations: 43.84 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.3535, allocations: 119.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3535, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3535, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3535, allocations: 0 / 1.329 GB, free: 15.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000549/0.354, allocations: 335.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3541, allocations: 12.03 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.104e-05/0.3541, allocations: 4.188 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.3541, allocations: 34.75 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3542, allocations: 12.89 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3543, allocations: 122.4 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3543, allocations: 4.375 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.3543, allocations: 8.375 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3545, allocations: 69.97 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3545, allocations: 3.938 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3545, allocations: 4 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3546, allocations: 4 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3547, allocations: 43.95 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.3552, allocations: 303.8 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3554, allocations: 62.55 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3555, allocations: 24.97 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3555, allocations: 3.984 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.3558, allocations: 91.42 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3558, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004435/0.3562, allocations: 145.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3563, allocations: 55.39 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3564, allocations: 121.8 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3564, allocations: 29.7 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.3565, allocations: 92.12 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.3565, allocations: 27.78 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.3566, allocations: 41.7 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3567, allocations: 326.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3569, allocations: 51.97 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3571, allocations: 81.62 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3574, allocations: 145.9 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3574, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004656/0.3578, allocations: 219.5 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.3579, allocations: 33.7 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3579, allocations: 0 / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3579, allocations: 4 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.358, allocations: 15.92 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.358, allocations: 3.984 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3582, allocations: 35.95 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.3583, allocations: 8 kB / 1.332 GB, free: 12.62 MB / 1.029 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001143/0.3584, allocations: 126.3 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3584, allocations: 3.953 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3584, allocations: 16.36 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3584, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3584, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3584, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.359, allocations: 361.4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.359, allocations: 4.062 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.359, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.359, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.359, allocations: 3.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3591, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3591, allocations: 7.875 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.3594, allocations: 211.4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.3594, allocations: 7.953 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3594, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.3595, allocations: 7.984 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3595, allocations: 15.92 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3596, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.3596, allocations: 91.81 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3596, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002635/0.3599, allocations: 24 kB / 1.332 GB, free: 11.67 MB / 1.029 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0006959/0.3606, allocations: 0.7436 MB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.361, allocations: 163.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.361, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3611, allocations: 35.97 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3614, allocations: 16.25 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3637, allocations: 1.705 MB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.364, allocations: 0.6885 MB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.3641, allocations: 4 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.3641, allocations: 23.42 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.3641, allocations: 3.938 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.3884, allocations: 2.741 MB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.62, allocations: 10.72 kB / 1.338 GB, free: 5.531 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.432101543992758] Failed to read output from testmodel.py, exit status != 0: 11.781660254986491 11.800147095 11.442839119 Calling exit ...