Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007485/0.007485, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001621/0.001621, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.466/1.466, 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 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.189, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002286/1.191, allocations: 0.7461 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001893/1.193, allocations: 1.155 MB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/1.193, allocations: 0 / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/1.193, allocations: 5.531 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/1.193, allocations: 13.69 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/1.194, allocations: 133 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/1.194, allocations: 122.2 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/1.194, allocations: 17.11 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/1.194, allocations: 51.83 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/1.194, allocations: 46.25 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/1.194, allocations: 10.88 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/1.194, allocations: 27.75 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/1.194, allocations: 17.53 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/1.195, allocations: 42.59 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/1.195, allocations: 104.3 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.195, allocations: 0 / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/1.195, allocations: 7.938 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.195, allocations: 0 / 1.09 GB, free: 3.902 MB / 0.8575 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.0006318/1.195, allocations: 413.7 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.196, allocations: 9.531 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/1.196, allocations: 6.156 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/1.196, allocations: 173.2 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/1.196, allocations: 4.266 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/1.196, allocations: 10.75 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/1.196, allocations: 72.11 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.196, allocations: 192 / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/1.196, allocations: 8.734 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.196, allocations: 1.031 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/1.196, allocations: 39.42 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/1.197, allocations: 325.4 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/1.197, allocations: 69.45 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/1.197, allocations: 32.23 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/1.197, allocations: 0.875 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/1.198, allocations: 96.11 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/1.198, allocations: 0 / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005556/1.198, allocations: 144.2 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.198, allocations: 54.16 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.198, allocations: 117.7 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/1.198, allocations: 28.45 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/1.199, allocations: 93.97 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.199, allocations: 19.81 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/1.199, allocations: 38.75 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/1.199, allocations: 319.1 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/1.199, allocations: 53.64 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/1.199, allocations: 87.86 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.199, allocations: 145.7 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/1.199, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004979/1.2, allocations: 213.3 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/1.2, allocations: 39.48 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.2, allocations: 5.797 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.2, allocations: 2.375 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.2, allocations: 15.06 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.2, allocations: 5.75 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/1.2, allocations: 38.25 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.2, allocations: 12.56 kB / 1.093 GB, free: 1.75 MB / 0.8575 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.0001056/1.201, allocations: 124.8 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/1.201, allocations: 2.812 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/1.201, allocations: 11.27 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.201, allocations: 5.203 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.201, allocations: 0.5312 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.201, allocations: 5.141 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/1.201, allocations: 377.8 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.201, allocations: 1.359 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/1.201, allocations: 8.406 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.201, allocations: 1.125 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.201, allocations: 1.922 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.201, allocations: 0 / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.201, allocations: 4.781 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/1.202, allocations: 217.4 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/1.202, allocations: 83.03 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.202, allocations: 2.969 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.202, allocations: 6.391 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/1.202, allocations: 9.484 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.202, allocations: 10.69 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.855e-05/1.202, allocations: 94.67 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.202, allocations: 0 / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002807/1.202, allocations: 25.61 kB / 1.094 GB, free: 0.9141 MB / 0.8575 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.0001924/1.202, allocations: 102.3 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000453/1.203, allocations: 183.5 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.203, allocations: 0 / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/1.203, allocations: 43.06 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/1.203, allocations: 8.719 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/1.204, allocations: 166.1 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/1.204, allocations: 0.6919 MB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.379e-05/1.204, allocations: 6.203 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/1.204, allocations: 11.88 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/1.204, allocations: 3.938 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.006055/1.21, allocations: 1.441 MB / 1.096 GB, free: 15.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches