Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001696, 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.002083/0.002083, allocations: 196.9 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.597/1.597, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.907/2.907, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8175, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003218/0.8208, allocations: 0.8381 MB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.8233, allocations: 1.483 MB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.8234, allocations: 7.938 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.8235, allocations: 19.8 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.8236, allocations: 27.72 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.825, allocations: 0.5135 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009271/0.8259, allocations: 499.3 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.8262, allocations: 37.47 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.8264, allocations: 191.6 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.8267, allocations: 139.6 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.8268, allocations: 51.94 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.827, allocations: 51.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.8271, allocations: 39.91 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.8274, allocations: 163.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.8281, allocations: 404.9 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.8281, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8281, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8282, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001302/0.8295, allocations: 0.6476 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.8295, allocations: 12.03 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.8297, allocations: 32.66 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.8303, allocations: 267.9 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.8303, allocations: 16.38 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.8304, allocations: 36.36 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.8308, allocations: 151.2 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8308, allocations: 4.125 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.8308, allocations: 3.938 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.8308, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.831, allocations: 91.88 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.8323, allocations: 0.7032 MB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.8326, allocations: 175.6 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.8327, allocations: 44.83 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.8327, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.8332, allocations: 156.9 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.8332, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0005244/0.8337, allocations: 243 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.8338, allocations: 59.39 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.834, allocations: 183.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.834, allocations: 37.7 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.8342, allocations: 128.5 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.8343, allocations: 39.5 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.8346, allocations: 113.6 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.8348, allocations: 330.8 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.8351, allocations: 159.9 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.8356, allocations: 238.1 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.8362, allocations: 402.6 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8362, allocations: 0 / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001188/0.8374, allocations: 0.6214 MB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.8376, allocations: 164.5 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.8376, allocations: 7.938 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.8376, allocations: 4 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.8377, allocations: 15.86 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.8377, allocations: 4 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.8386, allocations: 143.7 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.8387, allocations: 43.89 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0003002/0.839, allocations: 155.1 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.839, allocations: 15.81 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.8391, allocations: 25.81 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.8391, allocations: 4 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.8391, allocations: 8 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.8392, allocations: 3.984 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.84, allocations: 0.5022 MB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.84, allocations: 0 / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.84, allocations: 7.938 kB / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.84, allocations: 0 / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.8401, allocations: 7.984 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8401, allocations: 4 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8401, allocations: 0 / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.8404, allocations: 285.4 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.8405, allocations: 88.92 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.8406, allocations: 8 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.8406, allocations: 0 / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.8407, allocations: 23.97 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.8407, allocations: 12 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001005/0.8409, allocations: 115.2 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8409, allocations: 0 / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003791/0.8412, allocations: 87.83 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002712/0.8415, allocations: 120.3 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.8426, allocations: 0.6301 MB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8426, allocations: 0 / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.8427, allocations: 81.8 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.8432, allocations: 54.11 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.844, allocations: 324.5 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.8444, allocations: 0.7319 MB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.017e-05/0.8445, allocations: 17.55 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.8446, allocations: 19.44 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.8446, allocations: 3.938 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.01057/0.8552, allocations: 4.56 MB / 1.034 GB, free: 380 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches