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.001649/0.001649, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002417/0.002417, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.562/1.562, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.795/2.795, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002424/0.002424, allocations: 63.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001832/1.026, allocations: 0.7318 MB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00124/1.027, allocations: 1.159 MB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/1.027, allocations: 2.5 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/1.027, allocations: 7.875 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/1.028, allocations: 18.42 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/1.028, allocations: 133.9 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/1.028, allocations: 116.2 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/1.028, allocations: 24.73 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/1.028, allocations: 44.08 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/1.029, allocations: 51.45 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/1.029, allocations: 11.53 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/1.029, allocations: 19.78 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/1.029, allocations: 10.03 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/1.029, allocations: 37.14 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/1.029, allocations: 118.9 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.029, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.029, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.029, allocations: 2.438 kB / 1.156 GB, free: 31.77 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.000535/1.029, allocations: 340.1 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.029, allocations: 10.78 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/1.029, allocations: 14.27 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.758e-05/1.03, allocations: 114.8 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.03, allocations: 3.125 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/1.03, allocations: 12.03 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.03, allocations: 65.98 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.03, allocations: 192 / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.03, allocations: 7.938 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.03, allocations: 6.688 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/1.03, allocations: 42.28 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/1.03, allocations: 264.8 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/1.031, allocations: 62.27 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/1.031, allocations: 33.31 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.031, allocations: 6.812 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/1.031, allocations: 84.81 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/1.031, allocations: 0 / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004382/1.031, allocations: 139 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/1.031, allocations: 58.06 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/1.031, allocations: 125.8 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/1.032, allocations: 28.39 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/1.032, allocations: 93.59 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/1.032, allocations: 25.53 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/1.032, allocations: 36.78 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/1.032, allocations: 320.7 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/1.032, allocations: 86.95 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.032, allocations: 115.9 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/1.032, allocations: 146.8 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.032, allocations: 3.938 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004058/1.033, allocations: 237.1 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.033, allocations: 33.39 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.033, allocations: 2.875 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.033, allocations: 6.875 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/1.033, allocations: 17.05 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/1.033, allocations: 6.281 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/1.033, allocations: 34.47 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/1.033, allocations: 6.031 kB / 1.159 GB, free: 29.75 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.587e-05/1.033, allocations: 129.4 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/1.033, allocations: 10.12 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/1.033, allocations: 12.44 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.033, allocations: 2.938 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.033, allocations: 0 / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.033, allocations: 3.938 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/1.034, allocations: 314.6 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.034, allocations: 0 / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/1.034, allocations: 8.969 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.034, allocations: 0 / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.034, allocations: 10.19 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.034, allocations: 11.94 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.034, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/1.034, allocations: 215.1 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/1.034, allocations: 3.953 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/1.034, allocations: 6.969 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/1.034, allocations: 6.141 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/1.034, allocations: 6.281 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/1.034, allocations: 2.656 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.335e-05/1.034, allocations: 95.28 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.034, allocations: 0 / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002673/1.034, allocations: 27.33 kB / 1.16 GB, free: 29.07 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.0001286/1.034, allocations: 114.1 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003553/1.035, allocations: 193.9 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.035, allocations: 2.844 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.035, allocations: 42.52 kB / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.035, allocations: 9.75 kB / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/1.036, allocations: 169.4 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/1.036, allocations: 69.97 kB / 1.16 GB, free: 28.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.075e-05/1.036, allocations: 8.328 kB / 1.16 GB, free: 28.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/1.036, allocations: 13.69 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.036, allocations: 4 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of Templates: time 0.004421/1.04, allocations: 1.579 MB / 1.162 GB, free: 28.41 MB / 1.076 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 -s ida -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: 9.311324773007073]