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.000815/0.000815, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008043/0.0008043, allocations: 177.9 kB / 23.21 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.8682/0.8682, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.675/1.675, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.699e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001956/0.001983, allocations: 0.7353 MB / 0.9525 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003089, allocations: 1.171 MB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.003133, allocations: 0 / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.00316, allocations: 3.938 kB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.003225, allocations: 15.86 kB / 0.9536 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.003603, allocations: 132.7 kB / 0.9538 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.003739, allocations: 123.7 kB / 0.9539 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.003827, allocations: 11.98 kB / 0.9539 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.003925, allocations: 67.88 kB / 0.9539 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.004001, allocations: 31.95 kB / 0.954 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.004021, allocations: 11.94 kB / 0.954 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.004073, allocations: 31.92 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.004093, allocations: 7.984 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.004138, allocations: 35.91 kB / 0.9541 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004296, allocations: 123.7 kB / 0.9542 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004299, allocations: 12 kB / 0.9542 GB, free: 488 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.0043, allocations: 0 / 0.9542 GB, free: 488 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004304, allocations: 0 / 0.9542 GB, free: 488 kB / 0.9011 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.000442/0.004746, allocations: 335.7 kB / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.004779, allocations: 8.031 kB / 0.9545 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.004824, allocations: 12.89 kB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.004909, allocations: 117.6 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004923, allocations: 8.359 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.004943, allocations: 8.375 kB / 0.9547 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.005078, allocations: 66.23 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005086, allocations: 192 / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005096, allocations: 4.359 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.0051, allocations: 384 / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.005198, allocations: 43.91 kB / 0.9548 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.005552, allocations: 260.4 kB / 0.955 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.005673, allocations: 54.61 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.005729, allocations: 36.97 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.005739, allocations: 0 / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.005881, allocations: 91.23 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005882, allocations: 0 / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002876/0.00617, allocations: 145.9 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.006202, allocations: 59.41 kB / 0.9554 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.006267, allocations: 121.8 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.006287, allocations: 29.7 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.006333, allocations: 92.12 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.00635, allocations: 19.8 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.006399, allocations: 37.7 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.006479, allocations: 322.8 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.006586, allocations: 81.66 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.006697, allocations: 121.8 kB / 0.9562 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.006849, allocations: 146 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006852, allocations: 4 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.007118, allocations: 245 kB / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.00715, allocations: 41.62 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007156, allocations: 3.938 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.007168, allocations: 4 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.007226, allocations: 11.98 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.007231, allocations: 3.938 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.007333, allocations: 35.95 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.007347, allocations: 8 kB / 0.9567 GB, free: 13.7 MB / 0.9167 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 7.025e-05/0.007418, allocations: 131.5 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.007427, allocations: 11.89 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.007454, allocations: 12.42 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007455, allocations: 0 / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.007459, allocations: 0 / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007463, allocations: 0 / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.00773, allocations: 310.2 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.007731, allocations: 0 / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.007759, allocations: 19.92 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007761, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.007767, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007768, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.00777, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.00794, allocations: 215.4 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.00795, allocations: 11.89 kB / 0.9573 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007961, allocations: 0 / 0.9573 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.008003, allocations: 7.984 kB / 0.9573 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.008038, allocations: 15.98 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.008043, allocations: 0 / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.008076, allocations: 91.27 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008076, allocations: 7.938 kB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001704/0.008246, allocations: 20 kB / 0.9575 GB, free: 12.8 MB / 0.9167 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.0001141/0.00836, allocations: 107.2 kB / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.008601, allocations: 197 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008603, allocations: 0 / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.008664, allocations: 31.97 kB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.008864, allocations: 15.94 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.009152, allocations: 190.4 kB / 0.958 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.875e-05/0.009201, allocations: 79.48 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.009226, allocations: 20.44 kB / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.009226, allocations: 0 / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of Templates: time 0.002236/0.01146, allocations: 1.285 MB / 0.9593 GB, free: 10.82 MB / 0.9167 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: 6.405765893869102]