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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001417/0.001418, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.00172/0.00172, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.983/2.983, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 12 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8015, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001143/0.8027, allocations: 0.5318 MB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.8047, allocations: 1.46 MB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.8048, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.972e-05/0.805, allocations: 15.86 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.805, allocations: 19.8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.8061, allocations: 475.8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.8065, allocations: 375.3 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.8067, allocations: 41.45 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.8068, allocations: 155.7 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.807, allocations: 131.6 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.8071, allocations: 20 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.8072, allocations: 31.98 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.8072, allocations: 39.84 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.8073, allocations: 69.64 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.8076, allocations: 285.2 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8076, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8076, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.8076, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 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.0006288/0.8083, allocations: 0.5811 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8083, allocations: 12.5 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.8084, allocations: 27.81 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.8087, allocations: 254.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.8087, allocations: 20 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.8088, allocations: 35.95 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.8091, allocations: 152.7 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8091, allocations: 4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.8091, allocations: 11.97 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.8091, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8093, allocations: 81.52 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.8101, allocations: 0.7071 MB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.8103, allocations: 167.7 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/0.8103, allocations: 48.83 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.8104, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.8106, allocations: 155.3 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.8106, allocations: 0 / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004069/0.811, allocations: 234.8 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.8111, allocations: 63.41 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.8112, allocations: 183.2 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.8113, allocations: 37.7 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.8114, allocations: 132.4 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.8115, allocations: 39.5 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.8115, allocations: 12 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.8116, allocations: 326.8 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.8119, allocations: 155.9 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.8123, allocations: 238.1 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.8126, allocations: 292.4 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8126, allocations: 0 / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009062/0.8135, allocations: 0.6227 MB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.8136, allocations: 170.1 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8136, allocations: 0 / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8137, allocations: 4 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.524e-05/0.8137, allocations: 12 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8137, allocations: 7.938 kB / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.8145, allocations: 197.6 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.8146, allocations: 31.97 kB / 1.031 GB, free: 7.074 MB / 0.7794 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,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.8147, allocations: 159 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.8148, allocations: 15.81 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.8148, allocations: 21.8 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8148, allocations: 4 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8148, allocations: 0 / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8148, allocations: 0 / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.8154, allocations: 0.5158 MB / 1.031 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8154, allocations: 0 / 1.031 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.8154, allocations: 11.92 kB / 1.031 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8154, allocations: 0 / 1.031 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.8154, allocations: 8 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8154, allocations: 96 / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8154, allocations: 3.938 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.8157, allocations: 288.8 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.8158, allocations: 88.92 kB / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.8158, allocations: 0 / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.8159, allocations: 11.98 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.816, allocations: 23.91 kB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.816, allocations: 4 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.8161, allocations: 124.8 kB / 1.032 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8161, allocations: 0 / 1.032 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003582/0.8165, allocations: 79.94 kB / 1.032 GB, free: 5.641 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001787/0.8166, allocations: 124.4 kB / 1.032 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007071/0.8174, allocations: 0.616 MB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.8174, allocations: 0 / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.8175, allocations: 75.91 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.8179, allocations: 48.59 kB / 1.033 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.8185, allocations: 370.2 kB / 1.033 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.8188, allocations: 0.7284 MB / 1.034 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.534e-05/0.8189, allocations: 21.55 kB / 1.034 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.8189, allocations: 15.44 kB / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8189, allocations: 0 / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of Templates: time 0.008241/0.8272, allocations: 4.149 MB / 1.038 GB, free: 15.44 MB / 0.795 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches