Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0008961/0.0008961, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008309/0.0008309, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9205/0.9205, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.779/1.779, allocations: 377.8 MB / 0.6228 GB, free: 8.684 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.467e-06/3.467e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.296e-05, allocations: 5.516 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001903/0.001936, allocations: 0.7247 MB / 0.9829 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.003528, allocations: 1.174 MB / 0.9841 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.003586, allocations: 0 / 0.9841 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.003621, allocations: 7.938 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.003703, allocations: 19.86 kB / 0.9841 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.004238, allocations: 129.3 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.004451, allocations: 119.8 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004569, allocations: 15.89 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004701, allocations: 63.89 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.0048, allocations: 31.94 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.004828, allocations: 8 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.004901, allocations: 31.98 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.004928, allocations: 11.92 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.004988, allocations: 31.97 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.00522, allocations: 135.6 kB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005224, allocations: 0 / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.005225, allocations: 3.938 kB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.005231, allocations: 0 / 0.9847 GB, free: 15.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005948/0.005825, allocations: 339.7 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.005868, allocations: 8.031 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.005927, allocations: 12.88 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.006026, allocations: 121.7 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.006045, allocations: 4.375 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.006068, allocations: 4.375 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.006258, allocations: 70.2 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006267, allocations: 4.125 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.006278, allocations: 384 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006283, allocations: 384 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.006432, allocations: 51.83 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.006915, allocations: 256.5 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.007087, allocations: 58.61 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.007167, allocations: 32.95 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.00718, allocations: 3.938 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.007418, allocations: 95.3 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.00742, allocations: 0 / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003905/0.007811, allocations: 145.6 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.007854, allocations: 55.41 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.007938, allocations: 113.8 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.007966, allocations: 37.64 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.008027, allocations: 92.12 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.008053, allocations: 23.86 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.008123, allocations: 33.7 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.008222, allocations: 322.8 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.008394, allocations: 85.66 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.008558, allocations: 121.3 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.008787, allocations: 137.9 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.008791, allocations: 0 / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004069/0.009198, allocations: 244.8 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.009242, allocations: 41.64 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.009251, allocations: 0 / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.009268, allocations: 4 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.009349, allocations: 11.98 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.009355, allocations: 0 / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.009517, allocations: 40.02 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.009541, allocations: 12 kB / 0.9871 GB, free: 12.79 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,edge1.y,edge1.u,$PRE.edge1.u,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.0002514/0.009793, allocations: 121.8 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.00981, allocations: 11.88 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.009841, allocations: 12.44 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009844, allocations: 0 / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.009849, allocations: 0 / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009853, allocations: 0 / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.01027, allocations: 322.1 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01027, allocations: 3.938 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.01032, allocations: 11.98 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01032, allocations: 0 / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01033, allocations: 4 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.01033, allocations: 0 / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01034, allocations: 4 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.01059, allocations: 207.4 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.0106, allocations: 11.89 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01062, allocations: 3.984 kB / 0.9878 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.0107, allocations: 8 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.01074, allocations: 11.92 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01075, allocations: 4.062 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.01081, allocations: 99.75 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01081, allocations: 0 / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003015/0.01111, allocations: 24 kB / 0.9879 GB, free: 11.89 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001749/0.01128, allocations: 107.2 kB / 0.988 GB, free: 11.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.01165, allocations: 193 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01166, allocations: 0 / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.646e-05/0.01175, allocations: 31.97 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.01205, allocations: 16.19 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.01247, allocations: 191.8 kB / 0.9885 GB, free: 11.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.01253, allocations: 75.53 kB / 0.9885 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.01257, allocations: 12.5 kB / 0.9885 GB, free: 11.19 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.01257, allocations: 0 / 0.9885 GB, free: 11.19 MB / 0.948 GB Notification: Performance of Templates: time 0.003078/0.01565, allocations: 1.287 MB / 0.9898 GB, free: 9.914 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.823352482169867]