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.001253/0.001253, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.00127/0.00127, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.597/2.597, allocations: 437.1 MB / 0.7111 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 65.5 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002212/0.3104, allocations: 0.839 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3125, allocations: 1.484 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3126, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.3128, allocations: 23.8 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.3129, allocations: 27.7 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3142, allocations: 0.515 MB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.3148, allocations: 0.4914 MB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.315, allocations: 49.39 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.3152, allocations: 183.7 kB / 1.022 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.3154, allocations: 147.5 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.3155, allocations: 40 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3156, allocations: 48 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.3157, allocations: 51.89 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3159, allocations: 159.5 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.3165, allocations: 407.2 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3165, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3165, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3165, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 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.0008688/0.3174, allocations: 0.6552 MB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3174, allocations: 8.922 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3175, allocations: 28.75 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3179, allocations: 253.1 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.3179, allocations: 20.38 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.318, allocations: 32.36 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3183, allocations: 154.9 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3183, allocations: 192 / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3183, allocations: 11.94 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3183, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3185, allocations: 79.95 kB / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.3195, allocations: 0.7109 MB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3197, allocations: 183.5 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.3198, allocations: 44.83 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3198, allocations: 4 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.3201, allocations: 161.2 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.3201, allocations: 0 / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0005089/0.3207, allocations: 241.3 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3207, allocations: 55.39 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3209, allocations: 178.8 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.321, allocations: 45.7 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3211, allocations: 120.5 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.3212, allocations: 47.44 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.3214, allocations: 109.6 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3216, allocations: 330.8 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.3219, allocations: 155.9 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.3223, allocations: 246.7 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.3229, allocations: 400.8 kB / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3229, allocations: 4 kB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00107/0.324, allocations: 0.6186 MB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.3241, allocations: 167.3 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3241, allocations: 3.938 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3241, allocations: 7.938 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.3242, allocations: 11.98 kB / 1.027 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.3242, allocations: 12.28 kB / 1.027 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/0.3251, allocations: 139.6 kB / 1.027 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.3252, allocations: 36.03 kB / 1.027 GB, free: 0.5742 MB / 0.795 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.0002107/0.3254, allocations: 159 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.3255, allocations: 19.81 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.3255, allocations: 25.81 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3255, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3255, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3256, allocations: 3.984 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.3262, allocations: 0.5043 MB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3262, allocations: 3.938 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.3263, allocations: 11.94 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3263, allocations: 4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3263, allocations: 3.984 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3263, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3263, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3267, allocations: 293.2 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.3268, allocations: 92.86 kB / 1.028 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3268, allocations: 4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.3269, allocations: 4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.327, allocations: 23.91 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.327, allocations: 8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001223/0.3271, allocations: 124.2 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3271, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004759/0.3276, allocations: 72 kB / 1.029 GB, free: 15.14 MB / 0.8106 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.0002683/0.3279, allocations: 116.4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.3289, allocations: 0.6295 MB / 1.029 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3289, allocations: 3.938 kB / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3291, allocations: 79.91 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.3296, allocations: 52.56 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.3303, allocations: 352.2 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3307, allocations: 0.7359 MB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.3307, allocations: 27.38 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/0.3308, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of Templates: time 0.006217/0.337, allocations: 3.333 MB / 1.034 GB, free: 9.727 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time