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.0008242/0.0008242, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008027/0.0008027, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8909/0.8909, allocations: 177.2 MB / 203.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.788/1.788, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.203e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001448/0.00148, allocations: 0.7364 MB / 0.9829 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002684, allocations: 1.178 MB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.002729, allocations: 0 / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002758, allocations: 7.922 kB / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.002829, allocations: 11.88 kB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.003255, allocations: 138.8 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.003404, allocations: 119.8 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003506, allocations: 8 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003611, allocations: 71.88 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.00369, allocations: 39.92 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.003715, allocations: 12 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-05/0.003773, allocations: 19.98 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.003797, allocations: 7.938 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.003848, allocations: 43.89 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.004028, allocations: 127.6 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004031, allocations: 3.938 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.004032, allocations: 0 / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.004037, allocations: 0 / 0.9847 GB, free: 15.52 MB / 0.948 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.0004896/0.004527, allocations: 343.7 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.004564, allocations: 15.97 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.004611, allocations: 4.938 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.004691, allocations: 117.7 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.004706, allocations: 12.36 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.004723, allocations: 8.375 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.004875, allocations: 66.22 kB / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004882, allocations: 192 / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004893, allocations: 384 / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.004898, allocations: 8.312 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.005007, allocations: 47.89 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.005408, allocations: 252.5 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.005545, allocations: 62.55 kB / 0.9856 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.005599, allocations: 28.95 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.005611, allocations: 0 / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.005795, allocations: 95.36 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.005797, allocations: 4 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002969/0.006094, allocations: 141.5 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.00613, allocations: 55.41 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.0062, allocations: 121.8 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.006221, allocations: 29.7 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.00627, allocations: 96.09 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.006289, allocations: 27.81 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.006341, allocations: 37.7 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.006426, allocations: 318.8 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.00655, allocations: 81.67 kB / 0.9866 GB, free: 13.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.006665, allocations: 121.9 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.006828, allocations: 150.1 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00683, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002757/0.007106, allocations: 240.8 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.007141, allocations: 41.69 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.007148, allocations: 4 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.007161, allocations: 0 / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.007228, allocations: 16.11 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.007236, allocations: 3.938 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.00735, allocations: 35.92 kB / 0.9871 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.007366, allocations: 11.98 kB / 0.9872 GB, free: 12.72 MB / 0.948 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.391e-05/0.00744, allocations: 117.8 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.00745, allocations: 7.938 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.007474, allocations: 12.38 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007476, allocations: 4 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.007481, allocations: 4 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007484, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.007792, allocations: 330.1 kB / 0.9876 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007793, allocations: 0 / 0.9876 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.007822, allocations: 4 kB / 0.9876 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.007827, allocations: 4 kB / 0.9876 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.007839, allocations: 3.984 kB / 0.9876 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007841, allocations: 0 / 0.9876 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007842, allocations: 4 kB / 0.9876 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.008006, allocations: 211.3 kB / 0.9878 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.008016, allocations: 11.88 kB / 0.9878 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.008031, allocations: 8 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.008076, allocations: 7.984 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.008114, allocations: 3.984 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.008121, allocations: 4 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.008157, allocations: 91.27 kB / 0.9879 GB, free: 11.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008157, allocations: 4 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001835/0.00834, allocations: 24 kB / 0.988 GB, free: 11.82 MB / 0.948 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.0001338/0.008474, allocations: 105.1 kB / 0.9881 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.008726, allocations: 200.9 kB / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008727, allocations: 0 / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.008792, allocations: 36.17 kB / 0.9883 GB, free: 11.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.009, allocations: 24.47 kB / 0.9883 GB, free: 11.44 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.009327, allocations: 179.1 kB / 0.9885 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.009381, allocations: 79.27 kB / 0.9886 GB, free: 11.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.00941, allocations: 16.5 kB / 0.9886 GB, free: 11.11 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.00941, allocations: 0 / 0.9886 GB, free: 11.11 MB / 0.948 GB Notification: Performance of Templates: time 0.002269/0.01168, allocations: 1.288 MB / 0.9898 GB, free: 9.84 MB / 0.948 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: 6.562334327027202]