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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001419/0.001419, allocations: 100.1 kB / 15.88 MB, free: 12 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.001586/0.001586, allocations: 200 kB / 16.79 MB, free: 6.828 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7203, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002207/0.7226, allocations: 0.8107 MB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.7238, allocations: 1.156 MB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.7239, allocations: 5.219 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.7239, allocations: 3.938 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.724, allocations: 5.125 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.7245, allocations: 122.8 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.7246, allocations: 110.6 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.7247, allocations: 13.58 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.7249, allocations: 40.7 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.7249, allocations: 37.78 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.725, allocations: 6.75 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.7251, allocations: 19.73 kB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.7251, allocations: 14.89 kB / 0.9519 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.7252, allocations: 36.12 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.7253, allocations: 78.62 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.7253, allocations: 3.984 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7254, allocations: 0 / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7254, allocations: 0 / 0.952 GB, free: 7.379 MB / 0.7169 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.0005454/0.7259, allocations: 411.8 kB / 0.9524 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.726, allocations: 10.03 kB / 0.9524 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.726, allocations: 14.25 kB / 0.9524 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.7261, allocations: 178.8 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7261, allocations: 4.5 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.7262, allocations: 5.781 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.7264, allocations: 68.45 kB / 0.9526 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.7264, allocations: 192 / 0.9526 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.7264, allocations: 9.156 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.7264, allocations: 1.625 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.7266, allocations: 41.52 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.727, allocations: 331.3 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.7272, allocations: 63.39 kB / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.7273, allocations: 37.25 kB / 0.9531 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.7274, allocations: 1.438 kB / 0.9531 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.7276, allocations: 91.83 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.7276, allocations: 0 / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004366/0.728, allocations: 138.9 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.728, allocations: 56.89 kB / 0.9534 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.7281, allocations: 115.8 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.7282, allocations: 32.52 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.7282, allocations: 96.75 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.7282, allocations: 22.53 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.7283, allocations: 36.86 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.7283, allocations: 325.2 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.7285, allocations: 47 kB / 0.954 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.7287, allocations: 87.81 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.729, allocations: 149.4 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.729, allocations: 0 / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004195/0.7294, allocations: 217.5 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.7294, allocations: 33.02 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.7295, allocations: 1.406 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7295, allocations: 1.5 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.7296, allocations: 12.67 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7296, allocations: 1.219 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.7298, allocations: 40.14 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.7298, allocations: 7.156 kB / 0.9546 GB, free: 5 MB / 0.7169 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 7.857e-05/0.7299, allocations: 127 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.7299, allocations: 15.59 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.73, allocations: 9.625 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.73, allocations: 1.344 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.73, allocations: 3.938 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.73, allocations: 0 / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.7304, allocations: 379.7 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7304, allocations: 4.875 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.7305, allocations: 13.3 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7305, allocations: 1.344 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7305, allocations: 0 / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7305, allocations: 0.9688 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7305, allocations: 5.094 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.7308, allocations: 204.3 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.7308, allocations: 91.45 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.7308, allocations: 5.469 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.7309, allocations: 6.547 kB / 0.9554 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.731, allocations: 8.172 kB / 0.9554 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.731, allocations: 9.375 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.731, allocations: 93.05 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.731, allocations: 3.938 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002566/0.7313, allocations: 23.31 kB / 0.9555 GB, free: 4.086 MB / 0.7169 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.0001353/0.7314, allocations: 100.2 kB / 0.9556 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.7318, allocations: 180.2 kB / 0.9558 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7318, allocations: 0 / 0.9558 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.7319, allocations: 44.42 kB / 0.9558 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.7322, allocations: 14.11 kB / 0.9558 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.7326, allocations: 206.5 kB / 0.956 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.7327, allocations: 0.6885 MB / 0.9567 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.7327, allocations: 11.81 kB / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7328, allocations: 0 / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.002705/0.7355, allocations: 1.251 MB / 0.9579 GB, free: 2.301 MB / 0.7169 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/jenkins1/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