Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 112.6 kB / 16.37 MB, free: 6 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.001761/0.001761, allocations: 196 kB / 17.31 MB, free: 5.613 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.18 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.435/2.435, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.5 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001932/0.3187, allocations: 0.6627 MB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3202, allocations: 1.193 MB / 0.953 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.3202, allocations: 0 / 0.953 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.3203, allocations: 3.938 kB / 0.953 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.3204, allocations: 11.88 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.321, allocations: 215.3 kB / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3213, allocations: 179.7 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3214, allocations: 16 kB / 0.9534 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.3215, allocations: 67.88 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.3216, allocations: 59.86 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.3216, allocations: 12 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.3217, allocations: 31.98 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.3218, allocations: 19.84 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.3219, allocations: 55.89 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3221, allocations: 147.6 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3221, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3221, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3221, allocations: 0 / 0.9537 GB, free: 5.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005766/0.3227, allocations: 446.6 kB / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3227, allocations: 8.031 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.3228, allocations: 12.84 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3229, allocations: 160.4 kB / 0.9543 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3229, allocations: 12.38 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.323, allocations: 8.375 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3231, allocations: 54.17 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3231, allocations: 192 / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3231, allocations: 7.938 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3231, allocations: 4 kB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.3232, allocations: 15.94 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.3237, allocations: 348.7 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.406e-05/0.3238, allocations: 42.5 kB / 0.9548 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.3238, allocations: 20.8 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.3238, allocations: 0 / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.324, allocations: 83.44 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.324, allocations: 0 / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002578/0.3243, allocations: 101.8 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3243, allocations: 59.34 kB / 0.9551 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.3244, allocations: 113.8 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.3245, allocations: 29.7 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.3245, allocations: 96.12 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3246, allocations: 19.73 kB / 0.9553 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.3246, allocations: 49.69 kB / 0.9554 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3248, allocations: 322.8 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3249, allocations: 55.97 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3251, allocations: 104 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3252, allocations: 151.6 kB / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3253, allocations: 0 / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000398/0.3257, allocations: 265.3 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.3257, allocations: 75.33 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3258, allocations: 0 / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3258, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-05/0.3258, allocations: 3.938 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3258, allocations: 8.062 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.3261, allocations: 52.06 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.3262, allocations: 15.98 kB / 0.9564 GB, free: 2.391 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001185/0.3263, allocations: 125.7 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3263, allocations: 11.89 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3264, allocations: 4.375 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3264, allocations: 0 / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3264, allocations: 0 / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3264, allocations: 0 / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.3266, allocations: 181.6 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3266, allocations: 3.984 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.3266, allocations: 7.938 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3266, allocations: 0 / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3266, allocations: 0 / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3266, allocations: 0 / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3266, allocations: 3.984 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.3268, allocations: 117 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.3268, allocations: 89.11 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3268, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.3269, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3269, allocations: 11.98 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-06/0.3269, allocations: 4 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.327, allocations: 95.2 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.693e-06/0.327, allocations: 0 / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002292/0.3272, allocations: 31.84 kB / 0.957 GB, free: 1.621 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001805/0.3274, allocations: 111.2 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.3278, allocations: 246.6 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3278, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.3278, allocations: 24 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3281, allocations: 20.2 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.3285, allocations: 155 kB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3288, allocations: 0.6983 MB / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.3288, allocations: 4 kB / 0.9582 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3289, allocations: 11.44 kB / 0.9582 GB, free: 280 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3289, allocations: 0 / 0.9582 GB, free: 280 kB / 0.7325 GB Notification: Performance of Templates: time 0.004906/0.3338, allocations: 1.84 MB / 0.96 GB, free: 14.46 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches