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.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.001806/0.001806, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002664/0.002664, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.619/3.619, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002458/0.002458, allocations: 71.61 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.451, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00219/0.4532, allocations: 0.7285 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.455, allocations: 1.171 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.4551, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.4551, allocations: 7.922 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.4552, allocations: 11.88 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.4558, allocations: 138.4 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.456, allocations: 123.7 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4561, allocations: 8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4562, allocations: 47.91 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4563, allocations: 43.86 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.4564, allocations: 12 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.4564, allocations: 16 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.4565, allocations: 19.92 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.4566, allocations: 47.77 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.4568, allocations: 107.7 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4568, allocations: 3.938 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4568, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4568, allocations: 0 / 1.366 GB, free: 11.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007293/0.4575, allocations: 339.8 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4576, allocations: 8.031 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.4576, allocations: 12.89 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.4578, allocations: 114.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.4578, allocations: 12.31 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.4578, allocations: 8.375 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.458, allocations: 66.16 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.458, allocations: 192 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.458, allocations: 7.938 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.458, allocations: 4 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.4582, allocations: 43.95 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.4587, allocations: 264.4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.4589, allocations: 58.42 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.459, allocations: 33.03 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.459, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.4593, allocations: 83.36 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4593, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.000457/0.4597, allocations: 153.6 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.4598, allocations: 59.39 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4599, allocations: 113.8 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.46, allocations: 33.7 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.46, allocations: 96.09 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4601, allocations: 19.83 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.4601, allocations: 37.7 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.4604, allocations: 326.8 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.4605, allocations: 85.66 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4608, allocations: 114 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.4611, allocations: 141.9 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4611, allocations: 3.938 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004948/0.4616, allocations: 240.8 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.4616, allocations: 41.69 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4616, allocations: 0 / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4616, allocations: 8.125 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4617, allocations: 15.92 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4617, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4619, allocations: 39.91 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.462, allocations: 8 kB / 1.369 GB, free: 8.328 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,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.0001267/0.4621, allocations: 123.2 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.4621, allocations: 7.953 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.4621, allocations: 16.36 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4621, allocations: 3.984 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4621, allocations: 0 / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4622, allocations: 4 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.4626, allocations: 318 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4626, allocations: 0 / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.4627, allocations: 7.984 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4627, allocations: 3.938 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4627, allocations: 4 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4627, allocations: 4 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4627, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.463, allocations: 223.3 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.4631, allocations: 3.953 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4631, allocations: 0 / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.4632, allocations: 7.984 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4632, allocations: 11.98 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4632, allocations: 8.062 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.711e-05/0.4633, allocations: 95.2 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4633, allocations: 4 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002555/0.4635, allocations: 20 kB / 1.37 GB, free: 7.414 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 (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.000172/0.4637, allocations: 107.2 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.4641, allocations: 193 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4641, allocations: 0 / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4643, allocations: 40.16 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4646, allocations: 12 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.465, allocations: 167.1 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.46e-05/0.4651, allocations: 75.33 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.4651, allocations: 11.84 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.4651, allocations: 11.44 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4651, allocations: 4 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of Templates: time 0.004907/0.47, allocations: 1.607 MB / 1.372 GB, free: 5.164 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.092574533075094]