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.001153/0.001153, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001182/0.001182, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.394/2.394, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 61.94 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.003418/0.3336, allocations: 0.7496 MB / 0.9519 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.3361, allocations: 1.146 MB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.3362, allocations: 0 / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.3363, allocations: 3.938 kB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3364, allocations: 19.86 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.3372, allocations: 135.6 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.3375, allocations: 119.8 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3377, allocations: 16 kB / 0.9533 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3378, allocations: 47.89 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.338, allocations: 43.88 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.338, allocations: 12 kB / 0.9534 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3381, allocations: 27.92 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.3382, allocations: 15.92 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3383, allocations: 43.84 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3387, allocations: 111.7 kB / 0.9536 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3387, allocations: 4 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3387, allocations: 0 / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3387, allocations: 0 / 0.9536 GB, free: 5.566 MB / 0.7325 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.0008947/0.3396, allocations: 412.9 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3397, allocations: 12.03 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.3398, allocations: 8.844 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.34, allocations: 168.3 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.34, allocations: 12.34 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.3401, allocations: 8.375 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.3404, allocations: 70.16 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3404, allocations: 192 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3404, allocations: 11.92 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3404, allocations: 0 / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.3407, allocations: 35.97 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.3414, allocations: 332.7 kB / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3417, allocations: 66.48 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.3418, allocations: 32.95 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3419, allocations: 0 / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.3422, allocations: 91.27 kB / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.3422, allocations: 0 / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0006458/0.3429, allocations: 149.6 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3429, allocations: 51.41 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3431, allocations: 125.7 kB / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.3431, allocations: 29.69 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.3432, allocations: 92.14 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.3433, allocations: 15.81 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3434, allocations: 41.69 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3436, allocations: 314.8 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.3438, allocations: 51.95 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.3441, allocations: 91.62 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3446, allocations: 145.8 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3446, allocations: 0 / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007739/0.3454, allocations: 219.1 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.3454, allocations: 31.58 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3455, allocations: 4 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3455, allocations: 0 / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3457, allocations: 19.92 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3457, allocations: 4 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.3461, allocations: 40.02 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.3461, allocations: 4.312 kB / 0.9561 GB, free: 2.652 MB / 0.7325 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.0001877/0.3463, allocations: 132.8 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3464, allocations: 7.906 kB / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.3464, allocations: 8.375 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3464, allocations: 4 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3465, allocations: 0 / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3465, allocations: 4 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.3472, allocations: 382.3 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3472, allocations: 0 / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.3474, allocations: 16.05 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3474, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3474, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3474, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3474, allocations: 7.938 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.3479, allocations: 211.4 kB / 0.9569 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.348, allocations: 81.02 kB / 0.9569 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.3481, allocations: 3.984 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3482, allocations: 4 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.3483, allocations: 11.98 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3483, allocations: 11.94 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.97e-05/0.3484, allocations: 91.27 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3484, allocations: 0 / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004803/0.3489, allocations: 20 kB / 0.9571 GB, free: 1.578 MB / 0.7325 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.0002451/0.3492, allocations: 111.2 kB / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006644/0.3499, allocations: 179.4 kB / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3499, allocations: 0 / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3501, allocations: 39.91 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3506, allocations: 18.52 kB / 0.9574 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.3511, allocations: 162.7 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3516, allocations: 0.6963 MB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.782e-05/0.3516, allocations: 7.984 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.3517, allocations: 11.44 kB / 0.9583 GB, free: 292 kB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.3517, allocations: 0 / 0.9583 GB, free: 292 kB / 0.7325 GB Notification: Performance of Templates: time 0.007286/0.359, allocations: 1.451 MB / 0.9597 GB, free: 14.85 MB / 0.7481 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 -s gbode -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