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.001324/0.001324, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001451/0.001451, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.92/2.92, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.002094/0.002094, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00201/1.025, allocations: 0.7361 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001586/1.026, allocations: 1.163 MB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/1.026, allocations: 1.719 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/1.027, allocations: 8.625 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.658e-05/1.027, allocations: 6.969 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/1.027, allocations: 145.7 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000225/1.027, allocations: 121.8 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/1.027, allocations: 14.58 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/1.028, allocations: 52.33 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/1.028, allocations: 45.62 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/1.028, allocations: 9.969 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/1.028, allocations: 24 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/1.028, allocations: 13.06 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/1.028, allocations: 38.48 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/1.028, allocations: 116 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.028, allocations: 0 / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/1.028, allocations: 0 / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.028, allocations: 0 / 1.189 GB, free: 14.65 MB / 1.076 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.0005822/1.029, allocations: 334.5 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.029, allocations: 13.66 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/1.029, allocations: 18.92 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/1.029, allocations: 108 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.029, allocations: 3.75 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/1.029, allocations: 8.312 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/1.029, allocations: 67.58 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.029, allocations: 1.25 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.029, allocations: 8.594 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.029, allocations: 0.9062 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/1.029, allocations: 44.23 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/1.03, allocations: 267.7 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/1.03, allocations: 56.33 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/1.03, allocations: 32.7 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/1.03, allocations: 3.938 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/1.03, allocations: 88.92 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/1.03, allocations: 0 / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004803/1.031, allocations: 142.2 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/1.031, allocations: 54.27 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/1.031, allocations: 126 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.031, allocations: 33.05 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/1.031, allocations: 94.14 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.031, allocations: 15.56 kB / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/1.031, allocations: 42.38 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.031, allocations: 319.9 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/1.031, allocations: 83.08 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/1.032, allocations: 112.3 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/1.032, allocations: 146.6 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.032, allocations: 5.344 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004469/1.032, allocations: 246.1 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.032, allocations: 39.22 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.032, allocations: 1.531 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.032, allocations: 6.406 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/1.033, allocations: 14.5 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.033, allocations: 6.812 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/1.033, allocations: 37.45 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/1.033, allocations: 8.094 kB / 1.192 GB, free: 12.63 MB / 1.076 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 7.529e-05/1.033, allocations: 130.7 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/1.033, allocations: 7.641 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/1.033, allocations: 10.23 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.033, allocations: 1.312 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.033, allocations: 5.969 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.033, allocations: 64 / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/1.033, allocations: 319.4 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.033, allocations: 0 / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/1.033, allocations: 8.438 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.033, allocations: 1.953 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.033, allocations: 9.125 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.033, allocations: 0.7031 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.033, allocations: 1.062 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/1.034, allocations: 209.7 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/1.034, allocations: 7.531 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.034, allocations: 2.016 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/1.034, allocations: 10.31 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/1.034, allocations: 9.781 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.034, allocations: 3.141 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.056e-05/1.034, allocations: 92.31 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 0 / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002736/1.034, allocations: 25.56 kB / 1.192 GB, free: 11.96 MB / 1.076 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.000127/1.034, allocations: 110.4 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003783/1.035, allocations: 203.5 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.035, allocations: 0 / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/1.035, allocations: 33 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.035, allocations: 16.98 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/1.035, allocations: 169.2 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.107e-05/1.036, allocations: 72.02 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.323e-05/1.036, allocations: 10.16 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/1.036, allocations: 16.81 kB / 1.193 GB, free: 11.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/1.036, allocations: 0 / 1.193 GB, free: 11.48 MB / 1.076 GB Notification: Performance of Templates: time 0.005022/1.041, allocations: 1.583 MB / 1.194 GB, free: 11.29 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.095427194959484]