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.001768/0.001768, allocations: 108 kB / 15.61 MB, free: 152 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.002773/0.002773, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.674/2.674, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8199, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002544/0.8225, allocations: 0.7623 MB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.8243, allocations: 1.144 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.8244, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.8245, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.224e-05/0.8246, allocations: 15.86 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.8252, allocations: 139.4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.8254, allocations: 119.8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.8255, allocations: 23.95 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.8256, allocations: 47.91 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.8257, allocations: 43.83 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.8258, allocations: 8 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.8259, allocations: 23.98 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.8259, allocations: 11.98 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.826, allocations: 43.78 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.8262, allocations: 115.7 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8262, allocations: 0 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8262, allocations: 0 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8262, allocations: 0 / 1.02 GB, free: 52 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.0006514/0.8269, allocations: 416.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8269, allocations: 8.031 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.827, allocations: 12.84 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.8271, allocations: 172.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.8272, allocations: 4.375 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.8272, allocations: 12.38 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.8274, allocations: 62.22 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.8275, allocations: 192 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.8275, allocations: 11.94 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.8275, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.8277, allocations: 43.89 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.8282, allocations: 320.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.8285, allocations: 70.48 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.8286, allocations: 28.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.8286, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.8289, allocations: 95.33 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.8289, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004628/0.8294, allocations: 137.6 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.8294, allocations: 59.34 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.8295, allocations: 121.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.8296, allocations: 29.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.8297, allocations: 96.12 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.8297, allocations: 23.69 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.8299, allocations: 37.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.83, allocations: 318.8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.8303, allocations: 47.97 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.8305, allocations: 88.25 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.8308, allocations: 153.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8308, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004749/0.8313, allocations: 207.1 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.8314, allocations: 37.7 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8314, allocations: 8.047 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8314, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.8315, allocations: 11.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8315, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.8318, allocations: 36.08 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.8318, allocations: 12 kB / 1.022 GB, free: 13.13 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.0001138/0.8319, allocations: 129.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.832, allocations: 7.906 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.832, allocations: 8.375 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.832, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.832, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.832, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.8326, allocations: 386.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8326, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.8326, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8326, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.8327, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8327, allocations: 3.938 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8327, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.833, allocations: 211.4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.833, allocations: 88.95 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.8331, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.8331, allocations: 7.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.8332, allocations: 11.98 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.8332, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.8333, allocations: 99.27 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8333, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002705/0.8336, allocations: 24 kB / 1.023 GB, free: 12.05 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.0001795/0.8337, allocations: 99.25 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.8342, allocations: 179.4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8342, allocations: 4.062 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.8343, allocations: 47.84 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.8346, allocations: 16.61 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.8351, allocations: 154.8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.8354, allocations: 0.6923 MB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.834e-05/0.8355, allocations: 7.859 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.8355, allocations: 11.44 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8355, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.004492/0.84, allocations: 1.45 MB / 1.026 GB, free: 9.344 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