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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001575/0.001575, 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.002115/0.002115, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.758/1.758, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 68.83 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3636, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002476/0.3662, allocations: 0.8336 MB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3683, allocations: 1.476 MB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3684, allocations: 11.94 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3685, allocations: 19.8 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.808e-05/0.3687, allocations: 31.7 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3702, allocations: 0.511 MB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.3709, allocations: 499.3 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.371, allocations: 41.47 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.3713, allocations: 191.6 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3716, allocations: 143.6 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3717, allocations: 44 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.3719, allocations: 51.98 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.3719, allocations: 39.91 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.3722, allocations: 163.5 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.3726, allocations: 407.2 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3726, allocations: 0 / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3726, allocations: 0 / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.3727, allocations: 0 / 1.073 GB, free: 5.961 MB / 0.8262 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.0009178/0.3736, allocations: 0.6476 MB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3736, allocations: 12.03 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3738, allocations: 28.75 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.3741, allocations: 261 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.3742, allocations: 20.36 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.3742, allocations: 32.38 kB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3745, allocations: 153.1 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3745, allocations: 192 / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3746, allocations: 7.938 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3746, allocations: 11.94 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3747, allocations: 87.88 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.3757, allocations: 0.6993 MB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3759, allocations: 175.6 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.376, allocations: 40.84 kB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.376, allocations: 4 kB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.3762, allocations: 165.6 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.3763, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004838/0.3767, allocations: 241.4 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3768, allocations: 59.41 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.377, allocations: 178.3 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.3771, allocations: 37.7 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3772, allocations: 132.4 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3772, allocations: 35.45 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.3775, allocations: 121.6 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3776, allocations: 326.8 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.378, allocations: 159.9 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.3784, allocations: 242 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.3789, allocations: 410.5 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3789, allocations: 0 / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.38, allocations: 0.6188 MB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.3801, allocations: 165.9 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3801, allocations: 7.938 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.3801, allocations: 7.984 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.3802, allocations: 11.94 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3802, allocations: 4 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.3811, allocations: 143.7 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/0.3812, allocations: 35.97 kB / 1.078 GB, free: 308 kB / 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.0002108/0.3814, allocations: 151.1 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3814, allocations: 19.91 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.3815, allocations: 33.67 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3815, allocations: 4.062 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3815, allocations: 4 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3815, allocations: 0 / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.3822, allocations: 0.5037 MB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3822, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.3823, allocations: 11.92 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3823, allocations: 0 / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3823, allocations: 8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3823, allocations: 4 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3823, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.3826, allocations: 284.9 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.3827, allocations: 92.86 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3827, allocations: 4 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.3828, allocations: 7.984 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.3829, allocations: 19.98 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3829, allocations: 15.98 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.311e-05/0.383, allocations: 116.2 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.383, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003988/0.3834, allocations: 80 kB / 1.079 GB, free: 14.86 MB / 0.8419 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.0001959/0.3836, allocations: 111.7 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008253/0.3844, allocations: 0.6355 MB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3844, allocations: 0 / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3846, allocations: 71.86 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.385, allocations: 51.83 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.3857, allocations: 330.6 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3861, allocations: 0.7242 MB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.267e-05/0.3861, allocations: 21.55 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3862, allocations: 27.42 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.3862, allocations: 4 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of Templates: time 0.008799/0.395, allocations: 4.567 MB / 1.085 GB, free: 8.266 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches