Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008908/0.008908, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001511/0.001511, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.044, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002032/1.046, allocations: 0.8406 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001802/1.048, allocations: 1.473 MB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/1.048, allocations: 1.781 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/1.048, allocations: 20.84 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/1.048, allocations: 44.7 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/1.049, allocations: 0.5135 MB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006551/1.05, allocations: 0.4966 MB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/1.05, allocations: 40.44 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/1.05, allocations: 189.5 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/1.051, allocations: 176.3 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/1.051, allocations: 40.62 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/1.051, allocations: 54.89 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/1.051, allocations: 46.17 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/1.051, allocations: 158.4 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005986/1.052, allocations: 412.1 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.052, allocations: 1.703 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/1.052, allocations: 0 / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.585e-06/1.052, allocations: 0.7188 kB / 1.092 GB, free: 3.004 MB / 0.8575 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.0008072/1.053, allocations: 0.6431 MB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.053, allocations: 14.3 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/1.053, allocations: 33.2 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/1.053, allocations: 265.1 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.053, allocations: 22.97 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/1.053, allocations: 29.25 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/1.054, allocations: 154.6 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.054, allocations: 0.75 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/1.054, allocations: 14.36 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.054, allocations: 2.688 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/1.054, allocations: 86.03 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/1.055, allocations: 0.7002 MB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/1.055, allocations: 170.3 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/1.055, allocations: 48.3 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/1.055, allocations: 1.25 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/1.056, allocations: 158 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/1.056, allocations: 0 / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005407/1.056, allocations: 247.7 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.056, allocations: 60.41 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/1.056, allocations: 182.2 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/1.056, allocations: 40.47 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.056, allocations: 127.6 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/1.057, allocations: 42.38 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/1.057, allocations: 113.6 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/1.057, allocations: 329.3 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/1.057, allocations: 153.6 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/1.058, allocations: 245.6 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/1.058, allocations: 406.1 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.058, allocations: 5.781 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001365/1.06, allocations: 0.6107 MB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/1.06, allocations: 162.1 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.06, allocations: 6.375 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/1.06, allocations: 8.375 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/1.06, allocations: 11.58 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.06, allocations: 12.91 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/1.061, allocations: 139.7 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/1.061, allocations: 41.45 kB / 1.097 GB, free: 15.36 MB / 0.8731 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,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.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.0002946/1.061, allocations: 156.4 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/1.061, allocations: 15.94 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/1.061, allocations: 23 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.061, allocations: 2.281 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.061, allocations: 0 / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.061, allocations: 2.016 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/1.062, allocations: 0.5105 MB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.062, allocations: 0 / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/1.062, allocations: 9.125 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.062, allocations: 1.781 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.062, allocations: 11.28 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.062, allocations: 1.062 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.062, allocations: 0.7969 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/1.063, allocations: 283.9 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/1.063, allocations: 98.38 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/1.063, allocations: 3.016 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/1.063, allocations: 7.5 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/1.063, allocations: 22.31 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/1.063, allocations: 7.406 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001138/1.063, allocations: 120 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/1.063, allocations: 0 / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000556/1.064, allocations: 79.31 kB / 1.099 GB, free: 14.41 MB / 0.8731 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0002106/1.064, allocations: 112.2 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000951/1.065, allocations: 0.6144 MB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.065, allocations: 4 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/1.065, allocations: 76.81 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.066, allocations: 56.72 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/1.066, allocations: 325.5 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/1.067, allocations: 0.7371 MB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.951e-05/1.067, allocations: 24.95 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/1.067, allocations: 23.03 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.067, allocations: 0 / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.01504/1.082, allocations: 4.565 MB / 1.105 GB, free: 12.51 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches