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.01057/0.01057, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002267/0.002267, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.94 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002056/0.2883, allocations: 0.8327 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.2902, allocations: 1.484 MB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.2903, allocations: 3.938 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2905, allocations: 23.8 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.2906, allocations: 27.72 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2919, allocations: 0.5187 MB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.2924, allocations: 0.4954 MB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2926, allocations: 41.47 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.2928, allocations: 187.6 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.293, allocations: 175.5 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.2931, allocations: 40 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2932, allocations: 51.98 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.2933, allocations: 39.91 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.2935, allocations: 159.5 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.2939, allocations: 414.9 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.294, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.286e-06/0.294, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.294, allocations: 3.938 kB / 1.092 GB, free: 13 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.0008334/0.2948, allocations: 0.6437 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2949, allocations: 8.031 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.727e-05/0.295, allocations: 32.73 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.2953, allocations: 257 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2953, allocations: 16.38 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.2954, allocations: 32.38 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.2957, allocations: 151.8 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2957, allocations: 192 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.2957, allocations: 15.92 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2957, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.2959, allocations: 89.31 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.2968, allocations: 0.707 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.297, allocations: 163.7 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.2971, allocations: 52.83 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2971, allocations: 3.984 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.2973, allocations: 159.4 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.2974, allocations: 3.938 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004664/0.2978, allocations: 242.7 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2979, allocations: 55.41 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.2981, allocations: 182.8 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.2981, allocations: 37.7 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2982, allocations: 132.4 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.2983, allocations: 39.55 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2985, allocations: 117.6 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2986, allocations: 330.8 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2989, allocations: 155.9 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.2993, allocations: 238.2 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.2998, allocations: 415.6 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2998, allocations: 0 / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009607/0.3008, allocations: 0.6187 MB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3009, allocations: 164.5 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3009, allocations: 7.938 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3009, allocations: 4 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.792e-05/0.301, allocations: 11.94 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.301, allocations: 7.984 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.3018, allocations: 139.8 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.3019, allocations: 27.98 kB / 1.097 GB, free: 7.359 MB / 0.8575 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.0001766/0.302, allocations: 157.8 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3021, allocations: 15.81 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.3021, allocations: 21.81 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3021, allocations: 4 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3021, allocations: 0 / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3021, allocations: 0 / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.3027, allocations: 0.5158 MB / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3027, allocations: 0 / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.3028, allocations: 8 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3028, allocations: 0 / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3028, allocations: 11.98 kB / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3028, allocations: 96 / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3028, allocations: 7.875 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3031, allocations: 283.1 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.3032, allocations: 96.84 kB / 1.098 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3032, allocations: 4 kB / 1.098 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.3033, allocations: 8 kB / 1.098 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.3033, allocations: 19.97 kB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3034, allocations: 16 kB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.3035, allocations: 120.2 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3035, allocations: 0 / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003562/0.3038, allocations: 75.98 kB / 1.099 GB, free: 5.914 MB / 0.8575 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.0001835/0.304, allocations: 107.2 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007711/0.3048, allocations: 0.624 MB / 1.099 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3048, allocations: 0 / 1.099 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3049, allocations: 83.89 kB / 1.099 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3053, allocations: 47.83 kB / 1.1 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.306, allocations: 332.6 kB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3063, allocations: 0.7319 MB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.263e-05/0.3064, allocations: 21.53 kB / 1.101 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.3064, allocations: 19.44 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.3064, allocations: 4 kB / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.009227/0.3156, allocations: 4.711 MB / 1.105 GB, free: 15.18 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