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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009841/0.0009841, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001228/0.001228, allocations: 168.7 kB / 15.95 MB, free: 204 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.114/3.114, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.0005379, allocations: 11.94 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9264, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001144/0.9276, allocations: 478.1 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.9295, allocations: 1.121 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.9296, allocations: 3.938 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.9296, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.9297, allocations: 11.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.9303, allocations: 119.7 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.9305, allocations: 95.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.9306, allocations: 7.984 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.9307, allocations: 43.91 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.9308, allocations: 43.81 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.9308, allocations: 4 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.9309, allocations: 19.98 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.9309, allocations: 4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.931, allocations: 41.64 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.9311, allocations: 75.81 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9312, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9312, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.9312, allocations: 3.938 kB / 1.024 GB, free: 13.96 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.0006835/0.9319, allocations: 398.8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.9319, allocations: 12.56 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.932, allocations: 15.91 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.9322, allocations: 171 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.9322, allocations: 4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.9323, allocations: 4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.9325, allocations: 81.55 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.9326, allocations: 7.922 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.9326, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9326, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.9328, allocations: 59.95 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.9335, allocations: 328.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.9337, allocations: 70.55 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.9338, allocations: 40.95 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.9338, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.9341, allocations: 91.36 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.9341, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004948/0.9346, allocations: 161.5 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.9346, allocations: 55.41 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.9347, allocations: 117.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.9348, allocations: 33.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.9349, allocations: 88.14 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.9349, allocations: 23.73 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.9349, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9351, allocations: 318.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.9352, allocations: 59.95 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.9354, allocations: 92.19 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.9356, allocations: 93.58 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.9356, allocations: 3.984 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004524/0.9361, allocations: 211.2 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.9361, allocations: 41.69 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.9361, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9362, allocations: 4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.9363, allocations: 15.92 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.9363, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.9365, allocations: 51.92 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.9366, allocations: 8 kB / 1.027 GB, free: 11.09 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 0.0001181/0.9367, allocations: 121.8 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.9367, allocations: 11.98 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.9368, allocations: 8.375 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.9368, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9368, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.9368, allocations: 3.938 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.9373, allocations: 386.4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9373, allocations: 4 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.9374, allocations: 8 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.9374, allocations: 3.984 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.9374, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9374, allocations: 3.938 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9374, allocations: 3.938 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.9378, allocations: 235.8 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.9378, allocations: 81.05 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.9379, allocations: 8.062 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.9379, allocations: 11.98 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.938, allocations: 11.98 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.938, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.9381, allocations: 91.27 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.014e-06/0.9381, allocations: 0 / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000271/0.9384, allocations: 23.94 kB / 1.028 GB, free: 9.98 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.0002104/0.9386, allocations: 114.7 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.939, allocations: 187.3 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.939, allocations: 4 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.9392, allocations: 48.22 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.9395, allocations: 11.94 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.9399, allocations: 171.2 kB / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.9403, allocations: 0.6942 MB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.9404, allocations: 7.859 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.9404, allocations: 15.42 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.9404, allocations: 0 / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.004556/0.945, allocations: 1.266 MB / 1.03 GB, free: 7.422 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=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