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.001501/0.001501, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.002304/0.002304, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.324 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.476/2.476, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005068, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8251, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009243/0.826, allocations: 381.1 kB / 0.9548 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.8275, allocations: 1.162 MB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.8275, allocations: 1.375 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.8275, allocations: 0 / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.8276, allocations: 13.09 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.8282, allocations: 196.9 kB / 0.9562 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.8284, allocations: 137.5 kB / 0.9563 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.8285, allocations: 3.562 kB / 0.9563 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.8286, allocations: 59.08 kB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.8287, allocations: 45.8 kB / 0.9564 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.8288, allocations: 7.844 kB / 0.9564 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.8289, allocations: 26.89 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.8289, allocations: 7.094 kB / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.8289, allocations: 40.64 kB / 0.9565 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.8291, allocations: 107.6 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.8291, allocations: 1 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8291, allocations: 0 / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8291, allocations: 0 / 0.9566 GB, free: 6.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004081/0.8295, allocations: 408.3 kB / 0.957 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8296, allocations: 9.312 kB / 0.957 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.8296, allocations: 15.08 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.8298, allocations: 173.1 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.8298, allocations: 5.438 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.8298, allocations: 17.06 kB / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.8299, allocations: 50.64 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.83, allocations: 0 / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.83, allocations: 1.188 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.83, allocations: 0 / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.83, allocations: 15.2 kB / 0.9572 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.8305, allocations: 359.6 kB / 0.9576 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.8306, allocations: 36.19 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.8306, allocations: 15.48 kB / 0.9576 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.8306, allocations: 0 / 0.9576 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.8308, allocations: 84.3 kB / 0.9577 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8308, allocations: 4 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002304/0.831, allocations: 107 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.8311, allocations: 53.72 kB / 0.9579 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.8311, allocations: 114.4 kB / 0.958 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.8312, allocations: 34.3 kB / 0.958 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.8312, allocations: 100.8 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.8312, allocations: 6.469 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.8313, allocations: 6.688 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.8313, allocations: 316.4 kB / 0.9584 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.8315, allocations: 63.7 kB / 0.9585 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.8316, allocations: 91.3 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.8317, allocations: 119.4 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8317, allocations: 0 / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003572/0.8321, allocations: 265.7 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.8321, allocations: 72.27 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8322, allocations: 1.781 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8322, allocations: 5.766 kB / 0.959 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.287e-05/0.8322, allocations: 5.766 kB / 0.959 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.8322, allocations: 1.812 kB / 0.959 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.8326, allocations: 82.19 kB / 0.9591 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.8326, allocations: 16.23 kB / 0.9591 GB, free: 3.723 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.8327, allocations: 127.4 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.8327, allocations: 2.75 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.8327, allocations: 9.75 kB / 0.9592 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8327, allocations: 3.953 kB / 0.9592 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8327, allocations: 5.359 kB / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8328, allocations: 0 / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.8328, allocations: 168.7 kB / 0.9594 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8329, allocations: 1.375 kB / 0.9594 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.8329, allocations: 1.375 kB / 0.9594 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8329, allocations: 0 / 0.9594 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.8329, allocations: 9.359 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8329, allocations: 0 / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8329, allocations: 5.328 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.833, allocations: 115.3 kB / 0.9595 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.8331, allocations: 82.39 kB / 0.9596 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.8331, allocations: 5.438 kB / 0.9596 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.8331, allocations: 1.375 kB / 0.9596 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.8331, allocations: 18.72 kB / 0.9596 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.8332, allocations: 6.703 kB / 0.9596 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.8332, allocations: 90.14 kB / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8332, allocations: 0 / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002288/0.8334, allocations: 27.5 kB / 0.9598 GB, free: 3.066 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.8336, allocations: 106.3 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.8339, allocations: 243.8 kB / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8339, allocations: 5.625 kB / 0.9601 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.8339, allocations: 27.05 kB / 0.9601 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.8342, allocations: 20.17 kB / 0.9601 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.8345, allocations: 164.4 kB / 0.9603 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.8346, allocations: 0.6931 MB / 0.961 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.8346, allocations: 7.906 kB / 0.961 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.8346, allocations: 10.19 kB / 0.961 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8347, allocations: 1.375 kB / 0.961 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of Templates: time 0.004022/0.8387, allocations: 1.676 MB / 0.9626 GB, free: 1.035 MB / 0.7169 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 -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/jenkins/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