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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009934/0.0009934, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 177.8 kB / 16.92 MB, free: 6.652 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003996, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8356, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009981/0.8366, allocations: 476.7 kB / 0.9562 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.8382, allocations: 1.153 MB / 0.9573 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.8383, allocations: 0.9688 kB / 0.9573 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.8384, allocations: 3.938 kB / 0.9573 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.8384, allocations: 5.969 kB / 0.9573 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.839, allocations: 121.5 kB / 0.9574 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.8391, allocations: 110.5 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.8392, allocations: 14.55 kB / 0.9575 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.8394, allocations: 38.98 kB / 0.9576 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.8394, allocations: 38.03 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.8395, allocations: 9.375 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.8396, allocations: 19.92 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.8396, allocations: 14.27 kB / 0.9577 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.8397, allocations: 58.56 kB / 0.9577 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.8398, allocations: 77.62 kB / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8398, allocations: 0 / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8398, allocations: 0 / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.8398, allocations: 1.188 kB / 0.9578 GB, free: 6.105 MB / 0.7169 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.0005221/0.8404, allocations: 404.9 kB / 0.9582 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8404, allocations: 6.25 kB / 0.9582 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.8405, allocations: 10.53 kB / 0.9582 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.8406, allocations: 171.5 kB / 0.9584 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.8406, allocations: 3.688 kB / 0.9584 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.8407, allocations: 10.78 kB / 0.9584 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.8409, allocations: 77.52 kB / 0.9584 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8409, allocations: 192 / 0.9584 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8409, allocations: 7.938 kB / 0.9585 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8409, allocations: 1.094 kB / 0.9585 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.8411, allocations: 48.83 kB / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.8416, allocations: 328.5 kB / 0.9588 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.8418, allocations: 72.14 kB / 0.9589 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.8419, allocations: 41.2 kB / 0.9589 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.842, allocations: 5.844 kB / 0.9589 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.8422, allocations: 91.98 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.8422, allocations: 0 / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004632/0.8427, allocations: 166.5 kB / 0.9592 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.8427, allocations: 52.91 kB / 0.9592 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.8428, allocations: 127.6 kB / 0.9593 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.8428, allocations: 28.11 kB / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.8429, allocations: 92.14 kB / 0.9595 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.8429, allocations: 23.58 kB / 0.9595 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.843, allocations: 19.59 kB / 0.9595 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.843, allocations: 320.3 kB / 0.9598 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.8432, allocations: 56.44 kB / 0.9599 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.8433, allocations: 92.31 kB / 0.96 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.8436, allocations: 159 kB / 0.9601 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8436, allocations: 0 / 0.9601 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004455/0.8441, allocations: 215.5 kB / 0.9603 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.8441, allocations: 42.44 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8441, allocations: 1.375 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.8442, allocations: 2.75 kB / 0.9604 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.8443, allocations: 17.55 kB / 0.9604 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.8443, allocations: 9.438 kB / 0.9604 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.8445, allocations: 52.92 kB / 0.9604 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.8446, allocations: 9.5 kB / 0.9604 GB, free: 3.723 MB / 0.7169 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 7.795e-05/0.8447, allocations: 127.1 kB / 0.9606 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.8447, allocations: 6.656 kB / 0.9606 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.8447, allocations: 13.73 kB / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8447, allocations: 1.375 kB / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8447, allocations: 0 / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8447, allocations: 3.984 kB / 0.9606 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.8452, allocations: 393.8 kB / 0.961 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8452, allocations: 0 / 0.961 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.8452, allocations: 8.25 kB / 0.961 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8452, allocations: 5.359 kB / 0.961 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.8453, allocations: 0 / 0.961 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8453, allocations: 1.375 kB / 0.961 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8453, allocations: 4 kB / 0.961 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.8456, allocations: 222.9 kB / 0.9612 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.8456, allocations: 86.83 kB / 0.9613 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.8456, allocations: 4.969 kB / 0.9613 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.8457, allocations: 15.05 kB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.8458, allocations: 6.172 kB / 0.9613 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.8458, allocations: 6.875 kB / 0.9613 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.8458, allocations: 91.48 kB / 0.9614 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8458, allocations: 0 / 0.9614 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.8461, allocations: 24.91 kB / 0.9614 GB, free: 2.816 MB / 0.7169 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.000145/0.8462, allocations: 103.4 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.8466, allocations: 184.8 kB / 0.9617 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8466, allocations: 1 kB / 0.9617 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8468, allocations: 52.88 kB / 0.9617 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.8471, allocations: 11.27 kB / 0.9618 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.8474, allocations: 209.3 kB / 0.962 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.8476, allocations: 0.6886 MB / 0.9626 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.8476, allocations: 11 kB / 0.9626 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8476, allocations: 1.031 kB / 0.9626 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.003864/0.8515, allocations: 1.247 MB / 0.9639 GB, free: 1.043 MB / 0.7169 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/jenkins1/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