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.001956/0.001956, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002443/0.002443, allocations: 161.6 kB / 23.54 MB, free: 0.8906 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.537/1.537, 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 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 2.938/2.938, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.244e-06/2.244e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.209e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002257/0.002289, allocations: 0.738 MB / 0.8115 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.004297, allocations: 1.174 MB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.00437, allocations: 0 / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.004414, allocations: 8.625 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.004529, allocations: 7.922 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.005154, allocations: 129.6 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.00542, allocations: 123.7 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.00552, allocations: 11.98 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.005686, allocations: 69.28 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.005797, allocations: 43.86 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.005828, allocations: 8 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.753e-05/0.005916, allocations: 20 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.005947, allocations: 16.61 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.006025, allocations: 32.88 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.006272, allocations: 123.7 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006276, allocations: 0 / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006276, allocations: 0.6562 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.006282, allocations: 4 kB / 0.8133 GB, free: 15.59 MB / 0.7761 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.0006958/0.006978, allocations: 336.5 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.007017, allocations: 9.125 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.007096, allocations: 20.81 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.007223, allocations: 113.7 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.007241, allocations: 5 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.007265, allocations: 4.969 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.007483, allocations: 67.47 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.007492, allocations: 192 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.007502, allocations: 384 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.007507, allocations: 384 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.007712, allocations: 50.11 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.008248, allocations: 260.4 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.008454, allocations: 59.97 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.008573, allocations: 32.95 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.008588, allocations: 5.219 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.008901, allocations: 95.23 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.008902, allocations: 0.6562 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005219/0.009424, allocations: 147.1 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.009477, allocations: 52.84 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.009603, allocations: 125.8 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.009637, allocations: 29.7 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.009733, allocations: 96.09 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.009757, allocations: 13.38 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.009847, allocations: 41.69 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.01002, allocations: 318.8 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.01023, allocations: 83.5 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.01046, allocations: 118 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.0108, allocations: 147.1 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.0108, allocations: 1.438 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005531/0.01135, allocations: 245.9 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.0114, allocations: 37.64 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01141, allocations: 4.516 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.01144, allocations: 4.844 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.01153, allocations: 8 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01154, allocations: 4.828 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.01177, allocations: 33.41 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.0118, allocations: 11.98 kB / 0.8157 GB, free: 12.84 MB / 0.7761 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.0001284/0.01193, allocations: 124.5 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.01195, allocations: 11.89 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.01198, allocations: 9.781 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01198, allocations: 4 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01199, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01199, allocations: 4.438 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.01252, allocations: 322.7 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.01253, allocations: 1.75 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.0126, allocations: 16.05 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01261, allocations: 0 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01261, allocations: 0 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.01262, allocations: 4.859 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01262, allocations: 0 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.01299, allocations: 218.8 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.01301, allocations: 11.89 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.01303, allocations: 0 / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.01312, allocations: 7.984 kB / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.01317, allocations: 11.98 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.01318, allocations: 4 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.3e-05/0.01326, allocations: 91.81 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002913/0.01355, allocations: 24.53 kB / 0.8166 GB, free: 11.93 MB / 0.7761 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.0001715/0.01372, allocations: 96.86 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.01417, allocations: 194.9 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01418, allocations: 0 / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01431, allocations: 36.94 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.01463, allocations: 26.64 kB / 0.8169 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.01505, allocations: 166.3 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.592e-05/0.01514, allocations: 78.03 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.01517, allocations: 4 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.01521, allocations: 12.5 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of SimCode: time 5.52e-07/0.01521, allocations: 0 / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.005102/0.02031, allocations: 1.584 MB / 0.8187 GB, free: 9.742 MB / 0.7761 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: 8.088072631973773]