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.001125/0.001125, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009128/0.009128, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.578/2.578, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003915, allocations: 15.94 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8883/0.8887, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0009481/0.8897, allocations: 440.3 kB / 0.9555 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.8913, allocations: 1.284 MB / 0.9567 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.8914, allocations: 4 kB / 0.9567 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.8914, allocations: 3.938 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.8915, allocations: 14.8 kB / 0.9567 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.8923, allocations: 281.4 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.8925, allocations: 232.2 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.8927, allocations: 17.89 kB / 0.9573 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.8929, allocations: 82.7 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.893, allocations: 68.69 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.8931, allocations: 13 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.8932, allocations: 29.67 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.8932, allocations: 16.36 kB / 0.9575 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.8934, allocations: 96.72 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.8936, allocations: 211.2 kB / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8936, allocations: 0 / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8937, allocations: 0 / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.8937, allocations: 1.844 kB / 0.9577 GB, free: 5.676 MB / 0.7169 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.0005018/0.8942, allocations: 462.6 kB / 0.9582 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8942, allocations: 8.875 kB / 0.9582 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.8943, allocations: 15.66 kB / 0.9582 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.8944, allocations: 178.2 kB / 0.9584 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.8945, allocations: 7.25 kB / 0.9584 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.8945, allocations: 20.73 kB / 0.9584 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.8947, allocations: 59.97 kB / 0.9585 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8947, allocations: 3.938 kB / 0.9585 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.8947, allocations: 5.375 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8947, allocations: 1.375 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.8948, allocations: 22.92 kB / 0.9585 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.8953, allocations: 418 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.8954, allocations: 31.92 kB / 0.9589 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.8954, allocations: 20.41 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.8955, allocations: 1.656 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.8956, allocations: 104.7 kB / 0.959 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.8956, allocations: 0 / 0.959 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003104/0.896, allocations: 136.5 kB / 0.9592 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.896, allocations: 58.59 kB / 0.9592 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.8961, allocations: 139 kB / 0.9594 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.8961, allocations: 34.8 kB / 0.9594 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.8962, allocations: 91.92 kB / 0.9595 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.8962, allocations: 27.33 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.8963, allocations: 32.77 kB / 0.9595 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.8964, allocations: 321.2 kB / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.8966, allocations: 93.72 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.8968, allocations: 142 kB / 0.9601 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.897, allocations: 228.4 kB / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.897, allocations: 0 / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005586/0.8976, allocations: 373 kB / 0.9606 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.8977, allocations: 101.4 kB / 0.9607 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8977, allocations: 5.375 kB / 0.9608 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8977, allocations: 2.938 kB / 0.9608 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.558e-05/0.8977, allocations: 6.75 kB / 0.9608 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.8977, allocations: 2.75 kB / 0.9608 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.8983, allocations: 115.5 kB / 0.9609 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.8984, allocations: 21.73 kB / 0.9609 GB, free: 2.832 MB / 0.7169 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.0001096/0.8985, allocations: 134.1 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.8985, allocations: 12.02 kB / 0.961 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.8986, allocations: 11.12 kB / 0.961 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8986, allocations: 1.375 kB / 0.961 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8986, allocations: 0 / 0.961 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8986, allocations: 0 / 0.961 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.8987, allocations: 198 kB / 0.9612 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8987, allocations: 0 / 0.9612 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.8987, allocations: 6.75 kB / 0.9612 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8987, allocations: 0 / 0.9612 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.8988, allocations: 5.375 kB / 0.9612 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8988, allocations: 1.375 kB / 0.9612 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8988, allocations: 0 / 0.9612 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.899, allocations: 138.6 kB / 0.9614 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.899, allocations: 88.02 kB / 0.9615 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.899, allocations: 1.062 kB / 0.9615 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.8991, allocations: 5 kB / 0.9615 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.8991, allocations: 8.766 kB / 0.9615 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8991, allocations: 15.14 kB / 0.9615 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.8992, allocations: 94.33 kB / 0.9616 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8992, allocations: 0.9688 kB / 0.9616 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002772/0.8995, allocations: 42.66 kB / 0.9616 GB, free: 2.141 MB / 0.7169 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.0001877/0.8997, allocations: 108.2 kB / 0.9617 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.9002, allocations: 366.9 kB / 0.9621 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.9002, allocations: 4.375 kB / 0.9621 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.9003, allocations: 43.58 kB / 0.9621 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.9006, allocations: 29.05 kB / 0.9621 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.901, allocations: 206.8 kB / 0.9623 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.9012, allocations: 0.6958 MB / 0.963 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.9012, allocations: 14.83 kB / 0.963 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.9013, allocations: 16.11 kB / 0.9631 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.9013, allocations: 1.031 kB / 0.9631 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of Templates: time 0.006017/0.9073, allocations: 2.483 MB / 0.9655 GB, free: 15.55 MB / 0.7325 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