Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00688/0.00688, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001415/0.001415, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.487/1.487, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.921/2.921, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.42 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3314, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002411/0.3339, allocations: 0.879 MB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.3361, allocations: 1.552 MB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3363, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3364, allocations: 15.86 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.699e-05/0.3366, allocations: 23.78 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.338, allocations: 499.9 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.3385, allocations: 415.2 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.3387, allocations: 45.48 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.339, allocations: 163.6 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.3392, allocations: 139.6 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.3393, allocations: 20 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3395, allocations: 39.98 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.3396, allocations: 35.91 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.3398, allocations: 147.5 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3401, allocations: 291.5 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3401, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3401, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.3402, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 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.0009441/0.3411, allocations: 0.6477 MB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3412, allocations: 11.97 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.3413, allocations: 28.75 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.3417, allocations: 252.1 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.3417, allocations: 20.38 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.3418, allocations: 32.36 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.3421, allocations: 149.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3421, allocations: 4.125 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3421, allocations: 11.94 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3421, allocations: 7.875 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3423, allocations: 79.95 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.3432, allocations: 0.7109 MB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3434, allocations: 175.6 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.263e-05/0.3435, allocations: 44.83 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.3435, allocations: 0 / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.3438, allocations: 160.7 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.3439, allocations: 0 / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004724/0.3443, allocations: 247.2 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3444, allocations: 63.39 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3445, allocations: 175.8 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.3446, allocations: 41.7 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3447, allocations: 124.5 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.3448, allocations: 43.45 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.345, allocations: 109.6 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3451, allocations: 334.8 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.3454, allocations: 155.9 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.3458, allocations: 242.2 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.3463, allocations: 408.2 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.3464, allocations: 8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001011/0.3474, allocations: 0.6131 MB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.3475, allocations: 164.5 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3475, allocations: 4.281 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3475, allocations: 8 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.3476, allocations: 15.92 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3476, allocations: 7.938 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/0.3484, allocations: 143.6 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.3485, allocations: 35.97 kB / 1.062 GB, free: 14.38 MB / 0.8262 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.0001895/0.3487, allocations: 159.1 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3487, allocations: 19.75 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.3488, allocations: 21.81 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3488, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3488, allocations: 4 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3488, allocations: 7.922 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.3494, allocations: 0.5022 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3494, allocations: 0 / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.3494, allocations: 11.94 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3494, allocations: 4 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3494, allocations: 3.984 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3495, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3495, allocations: 7.984 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3498, allocations: 288.7 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.3498, allocations: 92.86 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3498, allocations: 4 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.3499, allocations: 4 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.35, allocations: 19.97 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.35, allocations: 8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.366e-05/0.3501, allocations: 119.2 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3501, allocations: 7.938 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003803/0.3505, allocations: 76 kB / 1.063 GB, free: 12.94 MB / 0.8262 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.000201/0.3507, allocations: 111.2 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007675/0.3515, allocations: 0.6121 MB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3515, allocations: 0.6875 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3516, allocations: 79.91 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3521, allocations: 55.83 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.3528, allocations: 398.2 kB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3531, allocations: 0.7284 MB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.3532, allocations: 19.44 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3532, allocations: 0 / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.006197/0.3594, allocations: 3.327 MB / 1.068 GB, free: 7.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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