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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009194/0.0009194, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009312/0.0009312, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004135, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.836/0.8364, allocations: 153.7 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009585/0.8374, allocations: 478.1 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8388, allocations: 1.105 MB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.8389, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.8389, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.839, allocations: 11.92 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.8394, allocations: 110.3 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.8396, allocations: 63.86 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.8397, allocations: 23.94 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.8398, allocations: 35.91 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.8399, allocations: 35.91 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.8399, allocations: 7.938 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.84, allocations: 23.97 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.84, allocations: 11.92 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.84, allocations: 37.7 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.8402, allocations: 71.81 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8402, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8402, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8402, allocations: 3.938 kB / 1.023 GB, free: 15.12 MB / 0.7794 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.0005774/0.8408, allocations: 402.8 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8408, allocations: 11.98 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.8409, allocations: 11.91 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.841, allocations: 171 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.8411, allocations: 4 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.8411, allocations: 7.984 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.8413, allocations: 73.62 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.8413, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.8413, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8413, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.8416, allocations: 51.95 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.8421, allocations: 344.7 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.8423, allocations: 58.55 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.8423, allocations: 8.062 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.8425, allocations: 95.39 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 3.416e-06/0.8425, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004287/0.843, allocations: 153.6 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.843, allocations: 51.41 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.8431, allocations: 133.7 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.8431, allocations: 25.7 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.8432, allocations: 92.14 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.8432, allocations: 27.8 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.8432, allocations: 8 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.8433, allocations: 314.8 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.8435, allocations: 55.95 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.8437, allocations: 92.25 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.8438, allocations: 89.92 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8438, allocations: 3.953 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004045/0.8443, allocations: 219.2 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.8443, allocations: 33.69 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8443, allocations: 7.938 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.8443, allocations: 128 / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.8444, allocations: 19.98 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8444, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.8447, allocations: 51.86 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.8447, allocations: 12 kB / 1.025 GB, free: 12.29 MB / 0.7794 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.956e-05/0.8448, allocations: 121.8 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.8448, allocations: 3.953 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.8449, allocations: 16.36 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8449, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8449, allocations: 4.062 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.8449, allocations: 3.938 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.8453, allocations: 390.4 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8454, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.8454, allocations: 15.94 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8454, allocations: 7.984 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8454, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8455, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8455, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.8458, allocations: 215.4 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.8458, allocations: 88.95 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.8459, allocations: 7.938 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.846, allocations: 11.98 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.846, allocations: 7.984 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.846, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.8461, allocations: 95.75 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8461, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002534/0.8463, allocations: 28 kB / 1.026 GB, free: 11.19 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.8465, allocations: 107.2 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.8469, allocations: 187.5 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8469, allocations: 4.062 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.847, allocations: 43.97 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.8472, allocations: 11.95 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.8475, allocations: 174.3 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.8478, allocations: 0.6887 MB / 1.027 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.8478, allocations: 11.84 kB / 1.027 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.8478, allocations: 19.38 kB / 1.027 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8478, allocations: 0 / 1.027 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of Templates: time 0.003405/0.8512, allocations: 1.265 MB / 1.029 GB, free: 8.633 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches