Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0009126/0.0009128, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009275/0.009276, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.633/1.633, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.169/3.169, allocations: 470.6 MB / 0.7442 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 9.312 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.396, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001254/0.3973, allocations: 0.5459 MB / 1.07 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3996, allocations: 1.541 MB / 1.072 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.3997, allocations: 4 kB / 1.072 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3998, allocations: 11.86 kB / 1.072 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.3999, allocations: 31.77 kB / 1.072 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4012, allocations: 495.2 kB / 1.072 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.4017, allocations: 419.2 kB / 1.073 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.4019, allocations: 37.48 kB / 1.073 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.4021, allocations: 163.6 kB / 1.073 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.4023, allocations: 131.6 kB / 1.073 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.4023, allocations: 20 kB / 1.073 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4025, allocations: 35.98 kB / 1.073 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.4025, allocations: 35.91 kB / 1.073 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.4028, allocations: 165.2 kB / 1.073 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.4032, allocations: 379.1 kB / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4033, allocations: 0 / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4033, allocations: 0 / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.4033, allocations: 4 kB / 1.074 GB, free: 7.434 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.0007905/0.4041, allocations: 0.5775 MB / 1.074 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4041, allocations: 8.031 kB / 1.074 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.4042, allocations: 28.75 kB / 1.074 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.4046, allocations: 263.9 kB / 1.075 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4046, allocations: 16.38 kB / 1.075 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.4047, allocations: 32.36 kB / 1.075 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.405, allocations: 151.9 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.405, allocations: 192 / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.4051, allocations: 11.94 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.4051, allocations: 4 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.4052, allocations: 86.12 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.4062, allocations: 0.707 MB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4065, allocations: 167.7 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.4066, allocations: 49.02 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4066, allocations: 0 / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.4069, allocations: 164.4 kB / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.4069, allocations: 0 / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0005132/0.4075, allocations: 243.1 kB / 1.076 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.4075, allocations: 67.33 kB / 1.076 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4077, allocations: 174.2 kB / 1.076 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.4078, allocations: 41.7 kB / 1.076 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.408, allocations: 128.5 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.408, allocations: 43.44 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4081, allocations: 57.69 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4083, allocations: 322.8 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.4086, allocations: 155.9 kB / 1.077 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.409, allocations: 243.2 kB / 1.077 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.4096, allocations: 404.5 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4096, allocations: 0 / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001016/0.4106, allocations: 0.6201 MB / 1.078 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.4107, allocations: 168.5 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4108, allocations: 3.938 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4108, allocations: 4 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.842e-05/0.4108, allocations: 15.88 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4108, allocations: 4 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/0.4118, allocations: 201.7 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/0.4119, allocations: 31.97 kB / 1.079 GB, free: 1.863 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.0002137/0.4121, allocations: 163 kB / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4121, allocations: 11.81 kB / 1.079 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.4122, allocations: 25.8 kB / 1.079 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4122, allocations: 8 kB / 1.079 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4122, allocations: 0 / 1.079 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4122, allocations: 0 / 1.079 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.4129, allocations: 0.506 MB / 1.079 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4129, allocations: 0 / 1.079 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.4129, allocations: 7.984 kB / 1.079 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4129, allocations: 0 / 1.079 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4129, allocations: 7.938 kB / 1.079 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.413, allocations: 0 / 1.079 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.413, allocations: 4 kB / 1.079 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.4133, allocations: 284.7 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.4134, allocations: 92.86 kB / 1.08 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.4134, allocations: 8 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.4135, allocations: 3.984 kB / 1.08 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.4136, allocations: 15.98 kB / 1.08 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4136, allocations: 15.98 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001065/0.4137, allocations: 128.2 kB / 1.08 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4137, allocations: 0 / 1.08 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003806/0.4141, allocations: 72 kB / 1.08 GB, free: 436 kB / 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.0002303/0.4143, allocations: 120 kB / 1.08 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008917/0.4152, allocations: 0.6158 MB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4152, allocations: 128 / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4154, allocations: 83.91 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.4158, allocations: 45.3 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.4165, allocations: 374.8 kB / 1.081 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.417, allocations: 0.7401 MB / 1.082 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.902e-05/0.4171, allocations: 21.53 kB / 1.082 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.4171, allocations: 19.44 kB / 1.082 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.4171, allocations: 0 / 1.082 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.01087/0.428, allocations: 4.324 MB / 1.086 GB, free: 10.04 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches