Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_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_10_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.001127/0.001127, allocations: 105.6 kB / 16.41 MB, free: 6.492 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.001057/0.001057, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9836/0.9851, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002292/0.9875, allocations: 0.6657 MB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.9894, allocations: 1.189 MB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.9895, allocations: 4 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.9895, allocations: 3.938 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.9896, allocations: 7.875 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.9905, allocations: 225.6 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.9908, allocations: 191.6 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.9909, allocations: 4 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.991, allocations: 63.95 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.9912, allocations: 67.77 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.9912, allocations: 16 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.9913, allocations: 32 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.9914, allocations: 15.97 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.9915, allocations: 55.83 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.9917, allocations: 151.6 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9917, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9917, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.9917, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 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.000627/0.9924, allocations: 432.5 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9924, allocations: 12.86 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.9925, allocations: 12.84 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.9926, allocations: 172.3 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.9927, allocations: 4.375 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.9927, allocations: 8.375 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.9929, allocations: 54.23 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.9929, allocations: 192 / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.9929, allocations: 3.938 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.9929, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.993, allocations: 19.92 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.9935, allocations: 348.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.9937, allocations: 38.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.9937, allocations: 12.86 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.9937, allocations: 4.094 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.9939, allocations: 83.3 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.9939, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000272/0.9942, allocations: 105.6 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.9942, allocations: 55.41 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.9943, allocations: 121.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.9944, allocations: 37.69 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.9944, allocations: 88.05 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.9945, allocations: 11.91 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.9946, allocations: 49.69 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.9947, allocations: 322.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.9949, allocations: 63.97 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.995, allocations: 89.38 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.9953, allocations: 159.6 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.9953, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004742/0.9958, allocations: 260.8 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.9959, allocations: 67.39 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9959, allocations: 4.375 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9959, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.71e-05/0.996, allocations: 7.938 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.996, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.9964, allocations: 59.91 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.9964, allocations: 24.38 kB / 1.173 GB, free: 14.16 MB / 0.9044 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.0001202/0.9965, allocations: 121.8 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.9966, allocations: 11.97 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.9966, allocations: 8.375 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9966, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9966, allocations: 7.938 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.9967, allocations: 81.02 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.9967, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/0.9967, allocations: 11.92 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.9968, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000192/0.997, allocations: 160.9 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002589/0.9972, allocations: 258.7 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.401e-05/0.9974, allocations: 27.98 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.765e-05/0.9974, allocations: 95.2 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of Backend: time 7.32e-07/0.9975, allocations: 0 / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007242/0.9982, allocations: 301.2 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007565/0.999, allocations: 0.6046 MB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.006144/1.005, allocations: 1.873 MB / 1.176 GB, free: 10.51 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches