Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001776/0.001776, allocations: 185.5 kB / 17.35 MB, free: 5.719 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.15 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.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8942/0.8958, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00198/0.8979, allocations: 0.7108 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.8995, allocations: 1.269 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.8995, allocations: 1.156 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.8996, allocations: 8.672 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.8997, allocations: 25 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.9007, allocations: 309.3 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.9012, allocations: 275.4 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.9014, allocations: 18.02 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.9016, allocations: 95.41 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.902, allocations: 97.94 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.902, allocations: 25.44 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.9022, allocations: 36.81 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.9022, allocations: 15.09 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.9024, allocations: 87.58 kB / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.9029, allocations: 216.8 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9029, allocations: 0.6875 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9029, allocations: 0 / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.9029, allocations: 0 / 1.092 GB, free: 3.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006688/0.9036, allocations: 488.3 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.9037, allocations: 9.391 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.9038, allocations: 20.53 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.9039, allocations: 177.5 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.904, allocations: 11.39 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.904, allocations: 14.92 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.9042, allocations: 59.77 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9042, allocations: 3.938 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.9043, allocations: 1.578 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.9043, allocations: 1.531 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.9043, allocations: 25.88 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.9051, allocations: 416.4 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.9052, allocations: 29.56 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.9053, allocations: 19.44 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.9053, allocations: 1.484 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.9056, allocations: 108.8 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.9056, allocations: 3.938 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004249/0.906, allocations: 136.5 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.9061, allocations: 54.3 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.9062, allocations: 135.6 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.9063, allocations: 36.56 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.9063, allocations: 100.6 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.9064, allocations: 16.44 kB / 1.094 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.9065, allocations: 67.48 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.9066, allocations: 328.1 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.9069, allocations: 87.64 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.9071, allocations: 136.2 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.9074, allocations: 239.6 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9074, allocations: 1.062 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007531/0.9082, allocations: 368.1 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.9083, allocations: 101.9 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9083, allocations: 1.75 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.9083, allocations: 6.859 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.315e-05/0.9083, allocations: 7.266 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9084, allocations: 3.172 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.9089, allocations: 87.92 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.9089, allocations: 17.3 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001153/0.9091, allocations: 133.8 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.9091, allocations: 9.266 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.9091, allocations: 10.56 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9091, allocations: 5.359 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9092, allocations: 0 / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.9092, allocations: 88.42 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.9092, allocations: 10.86 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.687e-05/0.9092, allocations: 9.328 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.9093, allocations: 8.156 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001972/0.9095, allocations: 185 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001954/0.9097, allocations: 282.9 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.578e-05/0.9098, allocations: 34.58 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.9098, allocations: 95.77 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of Backend: time 5.31e-07/0.9099, allocations: 4 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000766/0.9106, allocations: 423.9 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of SimCode: time 0.000743/0.9114, allocations: 0.632 MB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.008058/0.9194, allocations: 2.675 MB / 1.099 GB, free: 15.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches