Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007998/0.007998, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.002062/0.002062, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.557/1.557, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.402/2.402, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 63.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7116, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00185/0.7135, allocations: 0.772 MB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.7148, allocations: 1.297 MB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.7148, allocations: 1.25 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.7149, allocations: 3.938 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.7149, allocations: 10.61 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.7156, allocations: 293.2 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.7158, allocations: 223.5 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.7159, allocations: 19.11 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.716, allocations: 87.7 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.7161, allocations: 66.91 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.7161, allocations: 13.09 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.075e-05/0.7162, allocations: 27.48 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.7163, allocations: 21.03 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.7164, allocations: 71.03 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.7165, allocations: 156.7 kB / 0.9526 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7165, allocations: 1.5 kB / 0.9526 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7165, allocations: 0 / 0.9526 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7166, allocations: 0 / 0.9526 GB, free: 6.945 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.0004744/0.717, allocations: 0.4927 MB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7171, allocations: 10.28 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.7171, allocations: 15.28 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.7172, allocations: 175.8 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.7172, allocations: 6.844 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.7173, allocations: 17.5 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.7174, allocations: 60.16 kB / 0.9533 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.7174, allocations: 3.938 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7174, allocations: 1.094 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.7174, allocations: 4.969 kB / 0.9533 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.7175, allocations: 22.11 kB / 0.9533 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.7179, allocations: 422.7 kB / 0.9537 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.718, allocations: 31.89 kB / 0.9538 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.718, allocations: 20.56 kB / 0.9538 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.718, allocations: 5.25 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.7182, allocations: 101.3 kB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.7182, allocations: 0 / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002789/0.7185, allocations: 136.3 kB / 0.954 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.7185, allocations: 54.47 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.7186, allocations: 139.7 kB / 0.9542 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.7187, allocations: 31.2 kB / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.7187, allocations: 106.2 kB / 0.9543 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.7187, allocations: 20.44 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.7189, allocations: 65.67 kB / 0.9544 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.7189, allocations: 325.2 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.7191, allocations: 86.08 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.7193, allocations: 140.6 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.7195, allocations: 224 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7195, allocations: 5.344 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005271/0.7201, allocations: 373.4 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.7201, allocations: 97.28 kB / 0.9556 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7201, allocations: 1.25 kB / 0.9556 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7202, allocations: 2.406 kB / 0.9556 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.448e-05/0.7202, allocations: 11.3 kB / 0.9556 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.7202, allocations: 6.094 kB / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.7207, allocations: 87.88 kB / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.7207, allocations: 25.28 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.472e-05/0.7208, allocations: 136 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.7209, allocations: 7.844 kB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.7209, allocations: 13.69 kB / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7209, allocations: 1.594 kB / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7209, allocations: 0 / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7209, allocations: 0 / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.944e-05/0.721, allocations: 195 kB / 0.9561 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.721, allocations: 4 kB / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.721, allocations: 1.406 kB / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.721, allocations: 1.469 kB / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.7211, allocations: 9.109 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7211, allocations: 1.125 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7211, allocations: 0 / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.7212, allocations: 139.3 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.7213, allocations: 82.45 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7213, allocations: 5.391 kB / 0.9563 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.7213, allocations: 5.406 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.7214, allocations: 8.391 kB / 0.9563 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.7214, allocations: 4.312 kB / 0.9563 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.7214, allocations: 97.86 kB / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7214, allocations: 4 kB / 0.9564 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.7217, allocations: 44.06 kB / 0.9565 GB, free: 3.383 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001156/0.7218, allocations: 112.7 kB / 0.9566 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.7222, allocations: 361.3 kB / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7222, allocations: 1.188 kB / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.7223, allocations: 44.27 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.7225, allocations: 27.89 kB / 0.957 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.7228, allocations: 237.3 kB / 0.9572 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.361e-05/0.7229, allocations: 0.6963 MB / 0.9579 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.723, allocations: 11.94 kB / 0.9579 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.723, allocations: 1.031 kB / 0.9579 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.00309/0.7261, allocations: 1.88 MB / 0.9598 GB, free: 1.055 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches