Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006778/0.006778, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001218/0.001218, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.485/2.485, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.47 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3713, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0021/0.3735, allocations: 0.6924 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3753, allocations: 1.27 MB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.3753, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.3754, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.3755, allocations: 19.78 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.3763, allocations: 308.8 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.3766, allocations: 279.6 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3767, allocations: 16.19 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.3769, allocations: 103.8 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3771, allocations: 91.73 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.3772, allocations: 24 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.3773, allocations: 35.98 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.3773, allocations: 15.92 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3774, allocations: 83.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.3777, allocations: 227.3 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3777, allocations: 3.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3777, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3778, allocations: 0 / 1.091 GB, free: 14.3 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.0006179/0.3784, allocations: 496.3 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3784, allocations: 8.031 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.3785, allocations: 16.84 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3786, allocations: 172.3 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3787, allocations: 8.375 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.3787, allocations: 16.36 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3788, allocations: 58.23 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3788, allocations: 3.938 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3789, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3789, allocations: 7.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.389e-05/0.3789, allocations: 27.92 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3795, allocations: 412.5 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/0.3796, allocations: 30.56 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.3796, allocations: 16.86 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.3796, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.3798, allocations: 111.3 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3798, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000325/0.3802, allocations: 137.5 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3802, allocations: 51.41 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3804, allocations: 132.1 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.3805, allocations: 41.69 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.3805, allocations: 96.03 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.3806, allocations: 27.81 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3807, allocations: 69.67 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3808, allocations: 322.8 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.3811, allocations: 92.31 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3813, allocations: 131.8 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3816, allocations: 242.6 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3816, allocations: 3.938 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005582/0.3821, allocations: 382.3 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.3822, allocations: 101.1 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3822, allocations: 80 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3823, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.357e-05/0.3823, allocations: 8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3823, allocations: 3.984 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.3828, allocations: 80 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.3828, allocations: 19.98 kB / 1.094 GB, free: 10.7 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,and1.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.000152/0.383, allocations: 135.1 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.383, allocations: 7.906 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.383, allocations: 12.38 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.383, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3831, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3831, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.3833, allocations: 205.5 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3833, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.3833, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3833, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3833, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3834, allocations: 3.984 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3834, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3836, allocations: 136.9 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.3836, allocations: 85.02 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3836, allocations: 7.984 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.3837, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3837, allocations: 7.984 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3837, allocations: 8 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.3838, allocations: 99.2 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3838, allocations: 0 / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000257/0.3841, allocations: 40 kB / 1.095 GB, free: 9.859 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001614/0.3842, allocations: 107.8 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.3847, allocations: 370.1 kB / 1.095 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3847, allocations: 3.938 kB / 1.095 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.3848, allocations: 39.92 kB / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.3851, allocations: 32.2 kB / 1.095 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.3854, allocations: 183 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3857, allocations: 0.6924 MB / 1.096 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.3857, allocations: 8.438 kB / 1.096 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.3857, allocations: 15.42 kB / 1.096 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3857, allocations: 0 / 1.096 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.005215/0.391, allocations: 2.622 MB / 1.099 GB, free: 5.727 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches