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.001829/0.001829, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.002241/0.002241, allocations: 204 kB / 20.09 MB, free: 2.977 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.991/2.991, allocations: 0.49 GB / 0.7923 GB, free: 1.406 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.002328/0.002328, allocations: 73.92 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8658, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001615/0.8674, allocations: 0.7412 MB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.8685, allocations: 1.197 MB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.8685, allocations: 0 / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.8685, allocations: 3.938 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.8686, allocations: 18.02 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.869, allocations: 132.6 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.8691, allocations: 113.7 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.8692, allocations: 21.03 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.8693, allocations: 51.42 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.8694, allocations: 40.61 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.8694, allocations: 12 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.8694, allocations: 31.64 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.8695, allocations: 14.08 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.8695, allocations: 40.14 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.8696, allocations: 116.2 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8696, allocations: 4 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8696, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.8697, allocations: 0 / 1.324 GB, free: 23.46 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.000469/0.8701, allocations: 416.8 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.8702, allocations: 15.33 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.8702, allocations: 10.61 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.928e-05/0.8703, allocations: 171.1 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.8703, allocations: 10.53 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.8703, allocations: 9.062 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.8705, allocations: 61.84 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8705, allocations: 8.125 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.8705, allocations: 3.938 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8705, allocations: 2.969 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.8707, allocations: 44.75 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.8711, allocations: 337.4 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.8713, allocations: 70.73 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.8714, allocations: 25.23 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.8714, allocations: 0 / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.8716, allocations: 89.89 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.8716, allocations: 0 / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004068/0.872, allocations: 147.4 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.872, allocations: 57.05 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.8721, allocations: 127.2 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.8721, allocations: 28.7 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.8721, allocations: 94.12 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.8721, allocations: 18.7 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.8722, allocations: 44.11 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.8722, allocations: 324.8 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.8724, allocations: 49.7 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.8726, allocations: 82.3 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.8728, allocations: 140.5 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.8728, allocations: 2.875 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004056/0.8732, allocations: 212.4 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.8732, allocations: 41.39 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8732, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.8733, allocations: 2.531 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.8734, allocations: 10.89 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8734, allocations: 6.406 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.8736, allocations: 43.62 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.8736, allocations: 16.53 kB / 1.327 GB, free: 21.28 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 6.597e-05/0.8737, allocations: 121.5 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.8737, allocations: 6.609 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.8737, allocations: 8.375 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8737, allocations: 3.062 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8737, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8737, allocations: 3.375 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.8741, allocations: 382 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8741, allocations: 0 / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.8741, allocations: 9.016 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.8741, allocations: 2.812 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.8741, allocations: 3.938 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8741, allocations: 0 / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8741, allocations: 0 / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.8744, allocations: 213.2 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.8744, allocations: 83.16 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.8745, allocations: 1.969 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.8745, allocations: 10.61 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.8746, allocations: 10.31 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.8746, allocations: 2.75 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.8746, allocations: 91.14 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8746, allocations: 4 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002772/0.8749, allocations: 25.09 kB / 1.328 GB, free: 20.45 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.0001235/0.875, allocations: 113.8 kB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.8754, allocations: 160.9 kB / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8754, allocations: 0 / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.8755, allocations: 45.58 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.8758, allocations: 14.23 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.8761, allocations: 192.4 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.8762, allocations: 0.6879 MB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.8763, allocations: 11.34 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.8763, allocations: 0.9375 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of Templates: time 0.0032/0.8795, allocations: 1.276 MB / 1.33 GB, free: 19.25 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.500070223992225]