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.001635/0.001635, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002023/0.002023, allocations: 193 kB / 16.26 MB, free: 6.621 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.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.86/2.86, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7346, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002315/0.7369, allocations: 0.8251 MB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.7388, allocations: 1.148 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.7388, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.7389, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.739, allocations: 7.875 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.7395, allocations: 115.7 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.7397, allocations: 131.7 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.7399, allocations: 19.95 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.74, allocations: 47.84 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.7401, allocations: 51.81 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.7401, allocations: 12 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.7402, allocations: 16 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.7402, allocations: 11.98 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.7403, allocations: 43.84 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.7405, allocations: 107.7 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7406, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.283e-06/0.7406, allocations: 3.984 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7406, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 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.0008223/0.7414, allocations: 418.9 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.7415, allocations: 12.03 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.7415, allocations: 8.844 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.7417, allocations: 172.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.7417, allocations: 4.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.7418, allocations: 8.375 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.742, allocations: 70.16 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.742, allocations: 192 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.742, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.742, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.7422, allocations: 39.95 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.7428, allocations: 324.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.743, allocations: 70.48 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.7431, allocations: 28.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.7432, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.7434, allocations: 95.33 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.7434, allocations: 4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004413/0.7439, allocations: 137.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.7439, allocations: 55.39 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.744, allocations: 129.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.7441, allocations: 29.64 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.7442, allocations: 96.12 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.7442, allocations: 19.73 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.7443, allocations: 41.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7444, allocations: 318.8 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7446, allocations: 47.97 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.7448, allocations: 88.25 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.7451, allocations: 149.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7451, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004603/0.7455, allocations: 207.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.7456, allocations: 37.7 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7456, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7456, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.7457, allocations: 15.92 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.7457, allocations: 7.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.7459, allocations: 36.08 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.746, allocations: 8 kB / 1.022 GB, free: 13.28 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 (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.0001153/0.7461, allocations: 123 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.7461, allocations: 11.89 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.7462, allocations: 8.438 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.7462, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7462, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7462, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.7467, allocations: 382.3 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7467, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.7467, allocations: 7.984 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7467, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7468, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7468, allocations: 3.938 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7468, allocations: 3.984 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.7471, allocations: 211.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.7471, allocations: 88.95 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.7472, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.7472, allocations: 7.984 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.7473, allocations: 11.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.7473, allocations: 7.938 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.7474, allocations: 95.27 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7474, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002498/0.7476, allocations: 24 kB / 1.023 GB, free: 12.2 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 (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.0001553/0.7478, allocations: 107.8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.7482, allocations: 183.1 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7482, allocations: 4.25 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.7483, allocations: 39.97 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.7486, allocations: 15.98 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.7489, allocations: 170.8 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.7492, allocations: 0.6885 MB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.7493, allocations: 7.859 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.7493, allocations: 11.44 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7493, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.004281/0.7536, allocations: 1.388 MB / 1.025 GB, free: 9.535 MB / 0.7794 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=400 -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