Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_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.01064/0.01064, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.003753/0.003753, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.88 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002957/1.037, allocations: 0.7587 MB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002337/1.039, allocations: 1.138 MB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/1.04, allocations: 0 / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/1.04, allocations: 3.938 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/1.04, allocations: 19.84 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/1.041, allocations: 139.1 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/1.041, allocations: 119.8 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/1.041, allocations: 19.98 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/1.041, allocations: 43.91 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/1.041, allocations: 43.88 kB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/1.041, allocations: 8 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/1.041, allocations: 31.97 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/1.041, allocations: 11.92 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/1.042, allocations: 39.86 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/1.042, allocations: 119.1 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/1.042, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.875e-06/1.042, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.042, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 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.0008919/1.043, allocations: 409.9 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.043, allocations: 8.031 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/1.043, allocations: 16.89 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/1.043, allocations: 180.2 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/1.043, allocations: 4.375 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/1.043, allocations: 4.375 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/1.043, allocations: 62.23 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.043, allocations: 4.188 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/1.044, allocations: 7.922 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/1.044, allocations: 0 / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/1.044, allocations: 47.89 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/1.044, allocations: 332.7 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/1.045, allocations: 62.48 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/1.045, allocations: 45.11 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/1.045, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/1.045, allocations: 87.27 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/1.045, allocations: 7.938 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005202/1.046, allocations: 133.6 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/1.046, allocations: 59.34 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.046, allocations: 125.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/1.046, allocations: 33.7 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/1.046, allocations: 88.14 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/1.046, allocations: 27.78 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/1.046, allocations: 45.69 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.046, allocations: 314.8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/1.047, allocations: 51.95 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/1.047, allocations: 84.25 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/1.047, allocations: 145.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.047, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005446/1.048, allocations: 211.1 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.484e-05/1.048, allocations: 37.69 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.048, allocations: 4 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.048, allocations: 0 / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.048, allocations: 8 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.048, allocations: 3.984 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/1.048, allocations: 32.09 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/1.048, allocations: 15.98 kB / 1.172 GB, free: 14.38 MB / 0.9044 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.0001686/1.048, allocations: 127.4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/1.048, allocations: 7.953 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/1.048, allocations: 8.375 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.049, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.049, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/1.049, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/1.049, allocations: 382.3 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.049, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/1.049, allocations: 11.98 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/1.049, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.049, allocations: 7.938 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.049, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.049, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/1.05, allocations: 207.4 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/1.05, allocations: 85.06 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/1.05, allocations: 11.92 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/1.05, allocations: 8.062 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/1.05, allocations: 7.984 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/1.05, allocations: 3.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.195e-05/1.05, allocations: 95.27 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.05, allocations: 4 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002794/1.05, allocations: 27.94 kB / 1.173 GB, free: 13.3 MB / 0.9044 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.0002665/1.051, allocations: 107.2 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004776/1.051, allocations: 171.7 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.051, allocations: 0 / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/1.051, allocations: 48.16 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/1.052, allocations: 22.8 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/1.052, allocations: 162.5 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/1.053, allocations: 0.6885 MB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.585e-05/1.053, allocations: 8 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/1.053, allocations: 11.44 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.053, allocations: 0 / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.005394/1.058, allocations: 1.452 MB / 1.175 GB, free: 10.58 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches