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.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.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.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 152 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.001847/0.001847, allocations: 197 kB / 16.53 MB, free: 6.664 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.531/1.531, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.489/2.489, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7272, allocations: 140.4 MB / 0.9496 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001736/0.729, allocations: 0.6968 MB / 0.9503 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.7302, allocations: 1.27 MB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.7302, allocations: 1.406 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.7303, allocations: 7.875 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.7304, allocations: 9.25 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.7311, allocations: 316.4 kB / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.7313, allocations: 266.5 kB / 0.9521 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7314, allocations: 27.48 kB / 0.9521 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.7315, allocations: 102.9 kB / 0.9522 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.7316, allocations: 72.47 kB / 0.9523 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.7317, allocations: 22.31 kB / 0.9523 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.7318, allocations: 36.73 kB / 0.9523 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.7318, allocations: 20.56 kB / 0.9524 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.7319, allocations: 79.06 kB / 0.9524 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.7321, allocations: 219.8 kB / 0.9526 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7322, allocations: 0 / 0.9526 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7322, allocations: 0 / 0.9526 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.7322, allocations: 1.156 kB / 0.9526 GB, free: 7.074 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.0004582/0.7326, allocations: 496.9 kB / 0.9531 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.7327, allocations: 13.86 kB / 0.9531 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.7328, allocations: 14.91 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.931e-05/0.7328, allocations: 178.9 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.7329, allocations: 7.219 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.7329, allocations: 13.78 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.733, allocations: 62.91 kB / 0.9534 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.733, allocations: 3.938 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.7331, allocations: 1.188 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7331, allocations: 1.156 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.7331, allocations: 19.44 kB / 0.9534 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.7336, allocations: 421.5 kB / 0.9538 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.96e-05/0.7337, allocations: 35.88 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.7337, allocations: 20.73 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.7337, allocations: 1.094 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.7339, allocations: 102.1 kB / 0.954 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.7339, allocations: 0 / 0.954 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002797/0.7342, allocations: 136 kB / 0.9541 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.7342, allocations: 57.62 kB / 0.9542 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.7343, allocations: 137.5 kB / 0.9543 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.7343, allocations: 35.39 kB / 0.9543 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.7344, allocations: 102.9 kB / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.7344, allocations: 19.28 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.7345, allocations: 67.05 kB / 0.9545 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.7346, allocations: 325.1 kB / 0.9548 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.7348, allocations: 85.61 kB / 0.9549 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.735, allocations: 136.7 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.7352, allocations: 238.5 kB / 0.9553 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7352, allocations: 1.656 kB / 0.9553 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000536/0.7357, allocations: 369.5 kB / 0.9556 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.7358, allocations: 104.3 kB / 0.9557 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7358, allocations: 5.312 kB / 0.9557 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.7358, allocations: 6.906 kB / 0.9557 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.451e-05/0.7359, allocations: 6.844 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7359, allocations: 2.375 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.7364, allocations: 83.83 kB / 0.9558 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.7365, allocations: 21.36 kB / 0.9558 GB, free: 4.203 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.62e-05/0.7366, allocations: 129.7 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.7366, allocations: 7.094 kB / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.7366, allocations: 14.83 kB / 0.956 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7367, allocations: 1.062 kB / 0.956 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7367, allocations: 9.078 kB / 0.956 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7367, allocations: 0 / 0.956 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.7368, allocations: 193.4 kB / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7368, allocations: 1.188 kB / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.7368, allocations: 5.047 kB / 0.9562 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7368, allocations: 5.156 kB / 0.9562 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.7368, allocations: 1.219 kB / 0.9562 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.7368, allocations: 1.281 kB / 0.9562 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.7368, allocations: 3.938 kB / 0.9562 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.737, allocations: 143.3 kB / 0.9563 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.737, allocations: 83.48 kB / 0.9564 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.7371, allocations: 5.188 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.7371, allocations: 1.344 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.7372, allocations: 17.2 kB / 0.9564 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.7372, allocations: 3.031 kB / 0.9564 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.7372, allocations: 95.66 kB / 0.9565 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7372, allocations: 0 / 0.9565 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002767/0.7375, allocations: 47.33 kB / 0.9566 GB, free: 3.508 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.0001411/0.7376, allocations: 105.6 kB / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.7381, allocations: 372.3 kB / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7381, allocations: 0 / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/0.7382, allocations: 43.92 kB / 0.9571 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.7384, allocations: 19.23 kB / 0.9571 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.7389, allocations: 194.6 kB / 0.9573 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.7392, allocations: 0.6946 MB / 0.9579 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.324e-05/0.7392, allocations: 10.48 kB / 0.958 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.7392, allocations: 17.31 kB / 0.958 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.7393, allocations: 0 / 0.958 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.006927/0.7462, allocations: 2.637 MB / 0.9605 GB, free: 0.8594 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/jenkins/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