Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.468/2.468, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7562, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001934/0.7582, allocations: 0.7409 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.7597, allocations: 1.143 MB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.7598, allocations: 4 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.7599, allocations: 3.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.76, allocations: 15.84 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.7606, allocations: 139.6 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.7608, allocations: 119.8 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.7609, allocations: 19.97 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.761, allocations: 47.91 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.7611, allocations: 47.86 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.7611, allocations: 12 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.7612, allocations: 23.98 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.7612, allocations: 11.92 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.7613, allocations: 39.86 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.7615, allocations: 123.6 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.7615, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7615, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.7615, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 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.0005706/0.7621, allocations: 410.7 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7621, allocations: 8.031 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.7622, allocations: 12.84 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.7623, allocations: 168.3 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.7623, allocations: 16.36 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.7624, allocations: 4.375 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.7626, allocations: 66.17 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7626, allocations: 192 / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.7626, allocations: 7.922 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7626, allocations: 3.938 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.7628, allocations: 35.97 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.7633, allocations: 332.7 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.7635, allocations: 66.48 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.7636, allocations: 36.95 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.7636, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.7638, allocations: 91.34 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.7639, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004474/0.7643, allocations: 137.5 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.7644, allocations: 55.41 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7645, allocations: 121.8 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.7645, allocations: 37.69 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.7646, allocations: 88.14 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.7646, allocations: 19.81 kB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.7647, allocations: 41.69 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7648, allocations: 314.8 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.765, allocations: 55.95 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7653, allocations: 91.75 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.7656, allocations: 149.8 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7656, allocations: 0 / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004463/0.7661, allocations: 203.1 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.7661, allocations: 37.7 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7661, allocations: 7.984 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7661, allocations: 0 / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.7662, allocations: 12.12 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.7663, allocations: 7.922 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.7665, allocations: 35.88 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.7665, allocations: 11.98 kB / 1.213 GB, free: 8.258 MB / 0.9356 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 9.861e-05/0.7666, allocations: 121.8 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.7666, allocations: 7.906 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.7667, allocations: 12.38 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7667, allocations: 0 / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7667, allocations: 0 / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7667, allocations: 4 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.7671, allocations: 374.4 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7672, allocations: 0 / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.7672, allocations: 7.984 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7672, allocations: 4 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.7672, allocations: 4 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7673, allocations: 7.875 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7673, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.7675, allocations: 211.3 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.7676, allocations: 92.94 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.7676, allocations: 3.984 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.7677, allocations: 12 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.7677, allocations: 7.984 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.7678, allocations: 7.938 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.7678, allocations: 91.27 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7678, allocations: 0 / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002566/0.7681, allocations: 24 kB / 1.214 GB, free: 7.18 MB / 0.9356 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.0001468/0.7682, allocations: 111.2 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.7686, allocations: 175.8 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7686, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.7688, allocations: 43.91 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.7691, allocations: 21.5 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.7694, allocations: 184.7 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.7697, allocations: 0.6885 MB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.7697, allocations: 11.44 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7697, allocations: 0 / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.002667/0.7724, allocations: 1.261 MB / 1.217 GB, free: 4.633 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches