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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001956/0.001956, allocations: 108.6 kB / 15.73 MB, free: 76 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.002506/0.002506, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 60.16 kB / 0.9509 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 140.4 MB / 1.088 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002605/0.3504, allocations: 0.7477 MB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3524, allocations: 1.153 MB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.3525, allocations: 3.938 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.3526, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.3527, allocations: 7.875 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.3533, allocations: 128.9 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3535, allocations: 131.8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3537, allocations: 12 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3538, allocations: 43.91 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3539, allocations: 55.8 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.3539, allocations: 12 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.354, allocations: 19.98 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.354, allocations: 16 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.3541, allocations: 43.83 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3543, allocations: 115.5 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3543, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3543, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3543, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 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.0007778/0.3551, allocations: 412.9 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3552, allocations: 12.03 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.3552, allocations: 8.891 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3554, allocations: 168.4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3554, allocations: 4.375 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.3554, allocations: 8.375 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3556, allocations: 66.2 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3557, allocations: 4.172 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3557, allocations: 11.88 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3557, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3559, allocations: 47.89 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.3565, allocations: 340.7 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3567, allocations: 66.48 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3568, allocations: 28.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3569, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.3571, allocations: 83.36 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.3571, allocations: 3.938 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000482/0.3576, allocations: 153.6 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3576, allocations: 55.41 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3578, allocations: 118.2 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3578, allocations: 25.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.3579, allocations: 96.08 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3579, allocations: 15.91 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.358, allocations: 37.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3581, allocations: 318.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3583, allocations: 55.95 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.3585, allocations: 83.39 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3588, allocations: 153.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3588, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004539/0.3592, allocations: 203.1 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.3593, allocations: 37.7 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3593, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3593, allocations: 4.125 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.3594, allocations: 11.98 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3594, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.3597, allocations: 43.78 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3597, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 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.0001011/0.3598, allocations: 127.8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.3598, allocations: 11.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.3599, allocations: 8.375 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3599, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3599, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3599, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.3604, allocations: 378.4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3604, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.3605, allocations: 11.98 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3605, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3605, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3605, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3605, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.3608, allocations: 215.7 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3609, allocations: 81.11 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3609, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.361, allocations: 12.05 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3611, allocations: 11.98 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3611, allocations: 7.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.3611, allocations: 95.42 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3612, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002694/0.3614, allocations: 35.83 kB / 1.094 GB, free: 11.1 MB / 0.8575 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.0001839/0.3616, allocations: 103.2 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.362, allocations: 175.3 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.362, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3622, allocations: 47.97 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3624, allocations: 13.7 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.3629, allocations: 163 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3632, allocations: 0.686 MB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.3632, allocations: 11.92 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3633, allocations: 11.44 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3633, allocations: 0 / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.004207/0.3675, allocations: 1.453 MB / 1.096 GB, free: 8.387 MB / 0.8575 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/jenkins/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