Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001763/0.001763, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002066/0.002066, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.528/1.528, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.751/2.751, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.482e-05/4.795e-05, allocations: 4.984 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002328/0.002376, allocations: 0.7405 MB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.004545, allocations: 1.176 MB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.00461, allocations: 4 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.004645, allocations: 5 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.004736, allocations: 11.86 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.005324, allocations: 129.2 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.00556, allocations: 119.7 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.005661, allocations: 12.73 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.005853, allocations: 63.94 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.005999, allocations: 40.44 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.006042, allocations: 13.25 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.006119, allocations: 23.98 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.006154, allocations: 15.92 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.006227, allocations: 27.98 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.006503, allocations: 133 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.006509, allocations: 4 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00651, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.006516, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.7448 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.0007542/0.00727, allocations: 333 kB / 0.7892 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.007318, allocations: 12.03 kB / 0.7892 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.00741, allocations: 17.55 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.007552, allocations: 109.8 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.00757, allocations: 1.781 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.007598, allocations: 8.375 kB / 0.7893 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.007855, allocations: 67.19 kB / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.007865, allocations: 192 / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.007878, allocations: 384 / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007883, allocations: 5.188 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.008096, allocations: 48.92 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.008643, allocations: 260.4 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.008871, allocations: 64.3 kB / 0.7897 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.008994, allocations: 36.95 kB / 0.7898 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.009008, allocations: 3.031 kB / 0.7898 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.009309, allocations: 91.28 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.009311, allocations: 3.938 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005486/0.009859, allocations: 153.6 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.009912, allocations: 52.12 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01005, allocations: 121.8 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.01008, allocations: 31.36 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.01017, allocations: 92.09 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.01019, allocations: 11.91 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.01029, allocations: 41.69 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.01047, allocations: 320 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.01068, allocations: 81.66 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.01093, allocations: 119.5 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.01125, allocations: 139.6 kB / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01125, allocations: 0 / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005893/0.01184, allocations: 250.3 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.01191, allocations: 38.27 kB / 0.7912 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.01192, allocations: 4.516 kB / 0.7912 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.01195, allocations: 4 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.01206, allocations: 13.22 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.01207, allocations: 3.984 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.01229, allocations: 37.81 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.01232, allocations: 11.98 kB / 0.7913 GB, free: 7.547 MB / 0.7448 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.0001277/0.01245, allocations: 120.9 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.01248, allocations: 15.89 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.0125, allocations: 4.438 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01251, allocations: 1.062 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01251, allocations: 4 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01251, allocations: 0 / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.01306, allocations: 323.8 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01307, allocations: 7.922 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.01312, allocations: 4 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01313, allocations: 1.344 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.01314, allocations: 4 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01314, allocations: 3.984 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01314, allocations: 0.875 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.01353, allocations: 217.5 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.01356, allocations: 7.953 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01358, allocations: 0 / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.01367, allocations: 11.98 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01372, allocations: 8.047 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.01373, allocations: 4.594 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.618e-05/0.01382, allocations: 99.75 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 3.438 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002858/0.01411, allocations: 27.94 kB / 0.7921 GB, free: 6.648 MB / 0.7448 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.0001775/0.01428, allocations: 95.25 kB / 0.7922 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.01475, allocations: 193 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01475, allocations: 0.5 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01488, allocations: 36.94 kB / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01518, allocations: 23.77 kB / 0.7925 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.01564, allocations: 161.8 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.609e-05/0.01573, allocations: 76.14 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.01577, allocations: 4.938 kB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.01581, allocations: 12.5 kB / 0.7927 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01581, allocations: 0.6562 kB / 0.7927 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.005457/0.02127, allocations: 1.581 MB / 0.7943 GB, free: 4.461 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.901152346981689]