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.007943/0.007943, allocations: 106 kB / 15.73 MB, free: 6 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.001889/0.001889, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.451/2.451, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.078, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00209/1.08, allocations: 0.6996 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001717/1.082, allocations: 1.273 MB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/1.082, allocations: 0.625 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/1.082, allocations: 4.453 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/1.082, allocations: 20.83 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/1.083, allocations: 317.7 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/1.084, allocations: 274.9 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/1.084, allocations: 17.75 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/1.084, allocations: 97.02 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/1.084, allocations: 92.31 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/1.084, allocations: 23.22 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/1.084, allocations: 44.02 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/1.084, allocations: 10.8 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/1.085, allocations: 92 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/1.085, allocations: 220.3 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.085, allocations: 0.7812 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/1.085, allocations: 0 / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.085, allocations: 0.7812 kB / 1.091 GB, free: 3.629 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.0005918/1.086, allocations: 491 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.086, allocations: 9.062 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/1.086, allocations: 16.36 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/1.086, allocations: 173 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/1.086, allocations: 7.953 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/1.086, allocations: 22.42 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/1.086, allocations: 67.67 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.086, allocations: 8.531 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.086, allocations: 1.328 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.086, allocations: 1.625 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/1.086, allocations: 17.59 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/1.087, allocations: 409 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/1.087, allocations: 41.45 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/1.087, allocations: 18.64 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/1.087, allocations: 2.453 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/1.087, allocations: 103.2 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/1.087, allocations: 1.062 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003565/1.087, allocations: 140 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.087, allocations: 57.88 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.088, allocations: 137.8 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.088, allocations: 31.8 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/1.088, allocations: 104.5 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/1.088, allocations: 17.16 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/1.088, allocations: 67.52 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/1.088, allocations: 323.8 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.088, allocations: 87.12 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/1.088, allocations: 137.1 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/1.089, allocations: 235 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.089, allocations: 0.8438 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007302/1.089, allocations: 367.3 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/1.089, allocations: 102.2 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.089, allocations: 2.156 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.09, allocations: 2.641 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/1.09, allocations: 8.328 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.09, allocations: 7.391 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/1.09, allocations: 82.84 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/1.09, allocations: 17.91 kB / 1.094 GB, free: 1.059 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.0001441/1.09, allocations: 136 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/1.09, allocations: 8.75 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/1.09, allocations: 14.53 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.09, allocations: 1.406 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.09, allocations: 1.656 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.09, allocations: 0 / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/1.091, allocations: 192.4 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.091, allocations: 0 / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/1.091, allocations: 7.406 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.091, allocations: 4.75 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.091, allocations: 7.203 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.091, allocations: 0.9062 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.091, allocations: 0.7969 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/1.091, allocations: 140.4 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/1.091, allocations: 88.42 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/1.091, allocations: 2.625 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/1.091, allocations: 1.891 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/1.091, allocations: 15.75 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/1.091, allocations: 4.109 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.523e-05/1.091, allocations: 102.2 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.091, allocations: 0 / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002897/1.091, allocations: 39.92 kB / 1.095 GB, free: 416 kB / 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.0001822/1.092, allocations: 107.4 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005177/1.092, allocations: 366.3 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.092, allocations: 4.062 kB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/1.092, allocations: 39.66 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.093, allocations: 25.75 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/1.093, allocations: 192.4 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.093, allocations: 0.6965 MB / 1.096 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.104e-05/1.093, allocations: 9.625 kB / 1.096 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/1.093, allocations: 16.72 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/1.093, allocations: 0 / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.007183/1.101, allocations: 2.709 MB / 1.099 GB, free: 14.89 MB / 0.8731 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