Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001496/0.001496, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001484/0.001484, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.649/2.649, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 73.16 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6942, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001904/0.6961, allocations: 0.829 MB / 1.084 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.6977, allocations: 1.477 MB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.6977, allocations: 2.531 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.6979, allocations: 20.64 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.6979, allocations: 33.89 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.6991, allocations: 0.5071 MB / 1.086 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.6997, allocations: 0.4946 MB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.6999, allocations: 49.38 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.7001, allocations: 183.5 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.7003, allocations: 140.3 kB / 1.087 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.7004, allocations: 44.34 kB / 1.087 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.7005, allocations: 55.48 kB / 1.087 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.7006, allocations: 42.39 kB / 1.087 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.7008, allocations: 162.9 kB / 1.087 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.7013, allocations: 408.2 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7013, allocations: 0 / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7013, allocations: 1.125 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7013, allocations: 0 / 1.087 GB, free: 15.16 MB / 0.8419 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.0007948/0.7021, allocations: 0.6415 MB / 1.088 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.7022, allocations: 9.25 kB / 1.088 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.7023, allocations: 31.64 kB / 1.088 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.7026, allocations: 275.2 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.7026, allocations: 18.41 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.7027, allocations: 28.78 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.703, allocations: 146.2 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.703, allocations: 4.188 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.703, allocations: 10.19 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.703, allocations: 2.719 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.7032, allocations: 87.58 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/0.7041, allocations: 0.706 MB / 1.089 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.7044, allocations: 170.8 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.7045, allocations: 44.09 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.7045, allocations: 1.344 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.7048, allocations: 157.9 kB / 1.09 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.7048, allocations: 0 / 1.09 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0004658/0.7052, allocations: 243.7 kB / 1.09 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.7053, allocations: 59.58 kB / 1.09 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.7055, allocations: 178.5 kB / 1.09 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.7056, allocations: 40.2 kB / 1.09 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.7057, allocations: 135.3 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.7057, allocations: 41.84 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.7059, allocations: 113.9 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7061, allocations: 325.8 kB / 1.091 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.7064, allocations: 156.8 kB / 1.091 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.7068, allocations: 241.8 kB / 1.091 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.7073, allocations: 407 kB / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7073, allocations: 5.25 kB / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001076/0.7084, allocations: 0.6211 MB / 1.092 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.7086, allocations: 166.5 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7086, allocations: 6.25 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7086, allocations: 4.75 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.7086, allocations: 14.5 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7087, allocations: 4.375 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.7095, allocations: 139.9 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.7096, allocations: 34.14 kB / 1.092 GB, free: 11.54 MB / 0.8419 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.0001866/0.7098, allocations: 159.3 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.7098, allocations: 21.2 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.7098, allocations: 21.59 kB / 1.093 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7099, allocations: 6.359 kB / 1.093 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.7099, allocations: 0.7031 kB / 1.093 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7099, allocations: 0.6562 kB / 1.093 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.7105, allocations: 0.5177 MB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.7105, allocations: 8 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.7105, allocations: 5.297 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.7105, allocations: 1.188 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.7106, allocations: 4 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.7106, allocations: 1.453 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7106, allocations: 0 / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.7109, allocations: 286.5 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.711, allocations: 90.33 kB / 1.093 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.711, allocations: 10.39 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.7111, allocations: 2.844 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.7111, allocations: 18.97 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.7111, allocations: 11.61 kB / 1.093 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.181e-05/0.7112, allocations: 123.9 kB / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7112, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003601/0.7116, allocations: 83.08 kB / 1.094 GB, free: 10.57 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 (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.0001698/0.7118, allocations: 117.7 kB / 1.094 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.7126, allocations: 0.6313 MB / 1.094 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7126, allocations: 0 / 1.094 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7128, allocations: 82.73 kB / 1.094 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.7132, allocations: 48.52 kB / 1.095 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.7138, allocations: 363.5 kB / 1.095 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.7142, allocations: 0.725 MB / 1.096 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.7142, allocations: 26.55 kB / 1.096 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of SimCode: time 1.843e-06/0.7142, allocations: 0 / 1.096 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of Templates: time 0.00581/0.72, allocations: 3.34 MB / 1.099 GB, free: 8.68 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time