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.001233/0.001233, allocations: 103.3 kB / 16.27 MB, free: 6 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.001377/0.001377, allocations: 191.7 kB / 17.2 MB, free: 5.637 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.565/2.565, allocations: 437 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.33 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3134, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002258/0.3157, allocations: 0.8379 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3177, allocations: 1.481 MB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3178, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3179, allocations: 19.8 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.3181, allocations: 39.7 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3194, allocations: 0.504 MB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.32, allocations: 0.4914 MB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3202, allocations: 49.45 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.3204, allocations: 187.6 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.3207, allocations: 143.6 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3208, allocations: 40 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.321, allocations: 55.98 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.321, allocations: 39.92 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3213, allocations: 167.5 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.3218, allocations: 411.2 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3218, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3218, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3218, allocations: 0 / 1.022 GB, free: 6.184 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.0009095/0.3227, allocations: 0.6552 MB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3227, allocations: 8.922 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3229, allocations: 28.75 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3232, allocations: 253.1 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.3233, allocations: 28.36 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.3233, allocations: 28.38 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3236, allocations: 150.1 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3236, allocations: 4.125 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.3237, allocations: 11.94 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3237, allocations: 0 / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3238, allocations: 85.91 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.3248, allocations: 0.7109 MB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.3251, allocations: 179.6 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.3251, allocations: 40.84 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.3252, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.3255, allocations: 151.2 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 5e-06/0.3255, allocations: 4.172 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0005008/0.326, allocations: 251.1 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3261, allocations: 63.39 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.3263, allocations: 178.3 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.3263, allocations: 41.7 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3264, allocations: 116.5 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.3265, allocations: 47.44 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.3267, allocations: 113.6 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3269, allocations: 330.8 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.3273, allocations: 155.9 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.3278, allocations: 238.7 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.3283, allocations: 408.5 kB / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.3284, allocations: 4 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001107/0.3295, allocations: 0.6147 MB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.3296, allocations: 160.5 kB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3296, allocations: 8.266 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3297, allocations: 8 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.322e-05/0.3297, allocations: 11.94 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3297, allocations: 7.938 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/0.3306, allocations: 147.6 kB / 1.027 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.3307, allocations: 35.97 kB / 1.027 GB, free: 0.5273 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.0002022/0.3309, allocations: 157 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.3309, allocations: 15.91 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.331, allocations: 29.73 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.331, allocations: 0 / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.331, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.331, allocations: 0 / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/0.3317, allocations: 0.5061 MB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3317, allocations: 0 / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.3317, allocations: 11.98 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3317, allocations: 8 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3318, allocations: 4 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3318, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3318, allocations: 4 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.3321, allocations: 288.7 kB / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.3322, allocations: 92.86 kB / 1.028 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3322, allocations: 0 / 1.028 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.3323, allocations: 11.98 kB / 1.028 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3324, allocations: 15.98 kB / 1.028 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3324, allocations: 7.984 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001206/0.3325, allocations: 124.2 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3325, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003971/0.3329, allocations: 80 kB / 1.029 GB, free: 15.09 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.000231/0.3332, allocations: 112.4 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008389/0.334, allocations: 0.6275 MB / 1.029 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.334, allocations: 0.6875 kB / 1.029 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3342, allocations: 87.83 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3346, allocations: 55.77 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.3353, allocations: 354.1 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3356, allocations: 0.7399 MB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.3357, allocations: 19.42 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3357, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.007705/0.3434, allocations: 3.33 MB / 1.034 GB, free: 9.676 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=480 -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