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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 199.7 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.935/2.935, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002009/0.002009, allocations: 71.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9088, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002218/0.911, allocations: 0.7523 MB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.9127, allocations: 1.156 MB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.9128, allocations: 3.938 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.9128, allocations: 7.875 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.9129, allocations: 15.91 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.9134, allocations: 131.1 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.9136, allocations: 111.8 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.9137, allocations: 15.98 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.9138, allocations: 47.84 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.9139, allocations: 47.81 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.914, allocations: 8 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.9141, allocations: 31.91 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.9141, allocations: 15.98 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.9142, allocations: 39.86 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.9144, allocations: 114.3 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.9144, allocations: 4 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9144, allocations: 0 / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.9144, allocations: 0 / 1.276 GB, free: 2.004 MB / 0.9669 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.0007113/0.9151, allocations: 412.9 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9151, allocations: 8.031 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.9152, allocations: 8.938 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.9153, allocations: 184.1 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.9154, allocations: 12.34 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.9154, allocations: 8.375 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.9156, allocations: 58.23 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9156, allocations: 192 / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.9156, allocations: 11.92 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.9156, allocations: 3.938 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.9158, allocations: 43.97 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.9164, allocations: 328.7 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.9166, allocations: 58.55 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.9167, allocations: 32.95 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.9167, allocations: 8 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.917, allocations: 91.36 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.917, allocations: 0 / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004778/0.9175, allocations: 133.6 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.9176, allocations: 59.41 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.9177, allocations: 117.8 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.9177, allocations: 37.69 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.9178, allocations: 88.14 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.9178, allocations: 23.8 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.9179, allocations: 37.69 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9181, allocations: 318.8 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.9182, allocations: 55.95 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.9184, allocations: 88.19 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.9187, allocations: 150.1 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9187, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004935/0.9192, allocations: 203.2 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.9193, allocations: 33.7 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9193, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9193, allocations: 8.109 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.9194, allocations: 11.94 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9194, allocations: 4 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.9196, allocations: 39.89 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.9196, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 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.0001226/0.9198, allocations: 129.7 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.9198, allocations: 11.95 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.9198, allocations: 8.375 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.9198, allocations: 3.938 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9198, allocations: 4.062 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9198, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.9204, allocations: 382.4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9204, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.9204, allocations: 11.98 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9204, allocations: 7.938 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.9205, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9205, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9205, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.9208, allocations: 199.4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.9209, allocations: 85.06 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.9209, allocations: 11.98 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.921, allocations: 4 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.921, allocations: 7.984 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.921, allocations: 7.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.388e-05/0.9211, allocations: 95.27 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9211, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000273/0.9214, allocations: 20 kB / 1.28 GB, free: 14 MB / 0.9825 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.0002119/0.9216, allocations: 115.7 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.922, allocations: 159.3 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.922, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.9222, allocations: 35.97 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.9225, allocations: 11.98 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.923, allocations: 178.8 kB / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.9234, allocations: 0.6885 MB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.9234, allocations: 7.984 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.9234, allocations: 15.38 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9234, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.00512/0.9286, allocations: 1.471 MB / 1.283 GB, free: 11.27 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.283311543986201]