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.002093/0.002093, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.003199/0.003199, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.809 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.432/3.432, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [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.002101/0.002101, allocations: 74.33 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4317, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0023/0.434, allocations: 0.7393 MB / 1.326 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.4358, allocations: 1.155 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.4359, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.4359, allocations: 7.938 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.436, allocations: 11.88 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.4365, allocations: 142 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.4367, allocations: 119.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.4368, allocations: 11.98 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4369, allocations: 51.83 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.437, allocations: 39.83 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.4371, allocations: 12 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.4371, allocations: 27.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.4372, allocations: 11.98 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.4372, allocations: 39.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.4374, allocations: 111.6 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4374, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.667e-06/0.4374, allocations: 3.984 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4375, allocations: 0 / 1.328 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.0006813/0.4381, allocations: 339.8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4382, allocations: 8.031 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.4382, allocations: 16.88 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.4384, allocations: 122.4 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4384, allocations: 4.375 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4384, allocations: 4.375 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.4386, allocations: 70.2 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4386, allocations: 192 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.4387, allocations: 7.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.4387, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.4389, allocations: 39.95 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.4394, allocations: 268.4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.4396, allocations: 54.55 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4397, allocations: 28.97 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.4397, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.44, allocations: 87.3 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.44, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004909/0.4404, allocations: 149.6 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.4405, allocations: 51.41 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4406, allocations: 125.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.4407, allocations: 29.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.4407, allocations: 92.12 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4408, allocations: 19.8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.4408, allocations: 37.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.441, allocations: 326.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4412, allocations: 85.66 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.4414, allocations: 118.3 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.4417, allocations: 145.8 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.4417, allocations: 7.938 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005008/0.4422, allocations: 248.8 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.4423, allocations: 33.7 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4423, allocations: 320 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4423, allocations: 4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.4424, allocations: 15.98 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4424, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4426, allocations: 36.08 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4426, allocations: 11.98 kB / 1.33 GB, free: 12.61 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.0001351/0.4428, allocations: 132 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.4428, allocations: 7.938 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.4428, allocations: 12.38 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4428, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4428, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4428, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.4433, allocations: 318.1 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4433, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.4434, allocations: 15.92 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4434, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4434, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4434, allocations: 7.938 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4434, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.4438, allocations: 207.4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.4438, allocations: 7.953 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.4438, allocations: 3.984 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.4439, allocations: 8 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.4439, allocations: 11.97 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.444, allocations: 4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.721e-05/0.444, allocations: 95.31 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.444, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002692/0.4443, allocations: 24 kB / 1.331 GB, free: 11.71 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.0001757/0.4445, allocations: 111.1 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.4449, allocations: 197 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4449, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.445, allocations: 35.97 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.4453, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.4458, allocations: 178.6 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.4458, allocations: 76.09 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.862e-05/0.4459, allocations: 7.984 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.4459, allocations: 11.44 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4459, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Templates: time 0.004998/0.4509, allocations: 1.613 MB / 1.333 GB, free: 9.441 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.005969300866127]