Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.00146, allocations: 106.5 kB / 16.41 MB, free: 6.457 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.001487/0.001486, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.535/1.535, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.91 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002944/1.082, allocations: 0.6434 MB / 1.222 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002608/1.085, allocations: 1.186 MB / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/1.085, allocations: 4 kB / 1.223 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/1.085, allocations: 7.922 kB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/1.085, allocations: 15.86 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/1.086, allocations: 217.9 kB / 1.223 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/1.087, allocations: 183.7 kB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/1.087, allocations: 15.97 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/1.087, allocations: 67.89 kB / 1.223 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/1.087, allocations: 59.97 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/1.087, allocations: 16 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/1.087, allocations: 35.86 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/1.087, allocations: 11.98 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/1.087, allocations: 55.83 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/1.088, allocations: 143.7 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.088, allocations: 0 / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.084e-06/1.088, allocations: 0 / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.088, allocations: 4 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006571/1.088, allocations: 440.2 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.089, allocations: 8.625 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/1.089, allocations: 12.94 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.089, allocations: 180.2 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.089, allocations: 4.375 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/1.089, allocations: 8.375 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/1.089, allocations: 54.17 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.089, allocations: 192 / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/1.089, allocations: 11.94 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.089, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/1.089, allocations: 12 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/1.09, allocations: 348.8 kB / 1.225 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/1.09, allocations: 42.44 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/1.09, allocations: 12.86 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/1.09, allocations: 4 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/1.09, allocations: 87.36 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/1.09, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003241/1.091, allocations: 105.6 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1.091, allocations: 51.41 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.091, allocations: 121.8 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/1.091, allocations: 33.7 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/1.091, allocations: 92.5 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/1.091, allocations: 15.81 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.091, allocations: 45.69 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.091, allocations: 322.8 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.091, allocations: 63.89 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.092, allocations: 88.27 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/1.092, allocations: 159.6 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.092, allocations: 0 / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004173/1.092, allocations: 260.9 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/1.092, allocations: 67.39 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.092, allocations: 4.125 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.092, allocations: 4 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/1.092, allocations: 3.938 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.092, allocations: 7.938 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/1.093, allocations: 55.78 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/1.093, allocations: 15.98 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001194/1.093, allocations: 125.8 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/1.093, allocations: 7.906 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/1.093, allocations: 8.375 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.093, allocations: 3.984 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.093, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/1.093, allocations: 81.11 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.093, allocations: 0 / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/1.093, allocations: 7.938 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/1.093, allocations: 11.98 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001573/1.093, allocations: 164.9 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000187/1.093, allocations: 250.7 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.903e-05/1.094, allocations: 31.92 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.696e-05/1.094, allocations: 87.31 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of Backend: time 8.51e-07/1.094, allocations: 4 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007052/1.094, allocations: 321.1 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000679/1.095, allocations: 0.5966 MB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of Templates: time 0.005212/1.1, allocations: 1.871 MB / 1.23 GB, free: 9.043 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches