Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 245.1 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 489 MB / 0.7678 GB, free: 4.016 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 71.89 kB / 1.101 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9496/0.9518, allocations: 163.8 MB / 1.261 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002589/0.9544, allocations: 0.7459 MB / 1.262 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.9565, allocations: 1.15 MB / 1.263 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.9565, allocations: 0.6875 kB / 1.263 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.9566, allocations: 5.5 kB / 1.263 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.9567, allocations: 14.14 kB / 1.263 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.9574, allocations: 129.6 kB / 1.263 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.9577, allocations: 126.3 kB / 1.263 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.9578, allocations: 17.56 kB / 1.263 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.958, allocations: 44.44 kB / 1.263 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.9581, allocations: 54.81 kB / 1.263 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.9582, allocations: 18.12 kB / 1.263 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.9583, allocations: 24.55 kB / 1.263 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.9584, allocations: 8.781 kB / 1.263 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.9585, allocations: 47.28 kB / 1.263 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.9588, allocations: 118.7 kB / 1.263 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.9588, allocations: 0.9375 kB / 1.263 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9588, allocations: 0 / 1.263 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.9588, allocations: 0 / 1.263 GB, free: 6.289 MB / 0.9981 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.0006979/0.9595, allocations: 418.1 kB / 1.264 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.9596, allocations: 13.97 kB / 1.264 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.9596, allocations: 32.8 kB / 1.264 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.9597, allocations: 7.344 kB / 1.264 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.9598, allocations: 177 kB / 1.264 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.9598, allocations: 9.094 kB / 1.264 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.9599, allocations: 7.375 kB / 1.264 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.9602, allocations: 64.58 kB / 1.264 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9602, allocations: 3.938 kB / 1.264 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9602, allocations: 1.938 kB / 1.264 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.9602, allocations: 5.688 kB / 1.264 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.9605, allocations: 42.77 kB / 1.264 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.9611, allocations: 345.8 kB / 1.265 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.9614, allocations: 58.75 kB / 1.265 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.9616, allocations: 33.22 kB / 1.265 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.9616, allocations: 0.75 kB / 1.265 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003572/0.962, allocations: 96.06 kB / 1.265 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.962, allocations: 1.156 kB / 1.265 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0006267/0.9626, allocations: 139.5 kB / 1.265 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.9627, allocations: 54.44 kB / 1.265 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.9628, allocations: 117.2 kB / 1.265 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.9629, allocations: 29.52 kB / 1.265 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.9629, allocations: 97.7 kB / 1.265 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.963, allocations: 16.2 kB / 1.265 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.9631, allocations: 38.42 kB / 1.265 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.9631, allocations: 328 kB / 1.266 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.9634, allocations: 53.02 kB / 1.266 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.9637, allocations: 87.8 kB / 1.266 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.9641, allocations: 142.6 kB / 1.266 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9641, allocations: 3.938 kB / 1.266 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007285/0.9649, allocations: 200.8 kB / 1.266 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.9649, allocations: 43.14 kB / 1.266 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.965, allocations: 9.734 kB / 1.266 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.965, allocations: 1.938 kB / 1.266 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.9651, allocations: 11.17 kB / 1.266 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9652, allocations: 2.109 kB / 1.266 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.9655, allocations: 38.41 kB / 1.266 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.9656, allocations: 12.97 kB / 1.266 GB, free: 4.082 MB / 0.9981 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.0001172/0.9657, allocations: 133.2 kB / 1.266 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.9658, allocations: 3.422 kB / 1.266 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.9658, allocations: 10.64 kB / 1.266 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9658, allocations: 2.078 kB / 1.266 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.9659, allocations: 0.9375 kB / 1.266 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9659, allocations: 0 / 1.266 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.9665, allocations: 380 kB / 1.267 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9666, allocations: 0.6094 kB / 1.267 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.9667, allocations: 12.69 kB / 1.267 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.9667, allocations: 0.8438 kB / 1.267 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.9667, allocations: 5.297 kB / 1.267 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9667, allocations: 0.875 kB / 1.267 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9667, allocations: 5.312 kB / 1.267 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.9672, allocations: 208.3 kB / 1.267 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.9672, allocations: 80.56 kB / 1.267 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.9673, allocations: 1.625 kB / 1.267 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.9674, allocations: 10.52 kB / 1.267 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.9675, allocations: 13.75 kB / 1.267 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.9676, allocations: 3.891 kB / 1.267 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.9676, allocations: 94.83 kB / 1.267 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9676, allocations: 0 / 1.267 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004936/0.9681, allocations: 33.25 kB / 1.267 GB, free: 3.234 MB / 0.9981 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.0007441/0.9689, allocations: 0.7411 MB / 1.268 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006597/0.9696, allocations: 183 kB / 1.268 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9696, allocations: 0.8125 kB / 1.268 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.9698, allocations: 42.12 kB / 1.268 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.9703, allocations: 19.62 kB / 1.268 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.974, allocations: 1.692 MB / 1.27 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.9745, allocations: 0.6914 MB / 1.27 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.9746, allocations: 6.234 kB / 1.27 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.9747, allocations: 21.83 kB / 1.27 GB, free: 16.29 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/0.9747, allocations: 0 / 1.27 GB, free: 16.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/1.008, allocations: 2.565 MB / 1.273 GB, free: 15.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.286, allocations: 8.469 kB / 1.273 GB, free: 15.84 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.68828319106251]