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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001157/0.001157, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 187.8 kB / 16.93 MB, free: 6.773 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003851, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7824, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0009014/0.7834, allocations: 436.4 kB / 0.9561 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.7849, allocations: 1.283 MB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.7849, allocations: 5.094 kB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.785, allocations: 3.938 kB / 0.9574 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.7851, allocations: 9.766 kB / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.7858, allocations: 287.8 kB / 0.9577 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.786, allocations: 232.3 kB / 0.9579 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.7862, allocations: 18.88 kB / 0.9579 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.7863, allocations: 82.88 kB / 0.958 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.7864, allocations: 71.27 kB / 0.9581 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.7864, allocations: 11.91 kB / 0.9581 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.7865, allocations: 26.8 kB / 0.9581 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.7866, allocations: 12.59 kB / 0.9581 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.7867, allocations: 97.59 kB / 0.9582 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.7868, allocations: 156.6 kB / 0.9584 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7869, allocations: 0 / 0.9584 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7869, allocations: 0 / 0.9584 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7869, allocations: 0 / 0.9584 GB, free: 5.742 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.0004319/0.7873, allocations: 463.4 kB / 0.9588 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7874, allocations: 8.938 kB / 0.9588 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.7874, allocations: 19.72 kB / 0.9588 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.7875, allocations: 174.6 kB / 0.959 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.7876, allocations: 14.48 kB / 0.959 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.7876, allocations: 17.2 kB / 0.959 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.7877, allocations: 60.2 kB / 0.9591 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7878, allocations: 3.938 kB / 0.9591 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.7878, allocations: 5.312 kB / 0.9591 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7878, allocations: 4 kB / 0.9591 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.7878, allocations: 22.98 kB / 0.9591 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.7883, allocations: 419.3 kB / 0.9595 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.7884, allocations: 34.83 kB / 0.9596 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.7884, allocations: 21.19 kB / 0.9596 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.7885, allocations: 1.375 kB / 0.9596 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.7886, allocations: 101.5 kB / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.7886, allocations: 0 / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003054/0.7889, allocations: 136 kB / 0.9598 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.789, allocations: 57.62 kB / 0.9599 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.7891, allocations: 137.1 kB / 0.96 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.7891, allocations: 31.3 kB / 0.96 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.7892, allocations: 95.48 kB / 0.9601 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.7892, allocations: 27.58 kB / 0.9601 GB, free: 4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.7893, allocations: 28.86 kB / 0.9602 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.7893, allocations: 321.4 kB / 0.9605 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.7895, allocations: 89.34 kB / 0.9606 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.7897, allocations: 142.1 kB / 0.9607 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.79, allocations: 231.6 kB / 0.9609 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.79, allocations: 1.312 kB / 0.9609 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005533/0.7905, allocations: 368.1 kB / 0.9613 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.7906, allocations: 103.4 kB / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7906, allocations: 5.312 kB / 0.9614 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.7906, allocations: 2.938 kB / 0.9614 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.6e-05/0.7907, allocations: 6.75 kB / 0.9614 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.7907, allocations: 6.688 kB / 0.9614 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.7913, allocations: 117.6 kB / 0.9615 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.7913, allocations: 17.73 kB / 0.9615 GB, free: 2.898 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.0001029/0.7914, allocations: 136.7 kB / 0.9616 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.7915, allocations: 8.031 kB / 0.9616 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.7915, allocations: 15.11 kB / 0.9617 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.7915, allocations: 1.375 kB / 0.9617 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7915, allocations: 0 / 0.9617 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7915, allocations: 0 / 0.9617 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.7916, allocations: 198 kB / 0.9619 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7917, allocations: 3.938 kB / 0.9619 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.7917, allocations: 2.75 kB / 0.9619 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7917, allocations: 0 / 0.9619 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7917, allocations: 5.375 kB / 0.9619 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7917, allocations: 1.375 kB / 0.9619 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7917, allocations: 0 / 0.9619 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.7919, allocations: 143.1 kB / 0.962 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.7919, allocations: 82.83 kB / 0.9621 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7919, allocations: 2.031 kB / 0.9621 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.7919, allocations: 1 kB / 0.9621 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.792, allocations: 11.73 kB / 0.9621 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.792, allocations: 11.84 kB / 0.9621 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.7921, allocations: 102.6 kB / 0.9622 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7921, allocations: 0.7188 kB / 0.9622 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002673/0.7923, allocations: 39.06 kB / 0.9622 GB, free: 2.203 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.0001622/0.7925, allocations: 111.1 kB / 0.9623 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.793, allocations: 364.1 kB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.793, allocations: 4.375 kB / 0.9627 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.7931, allocations: 45.08 kB / 0.9627 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.7933, allocations: 29.06 kB / 0.9628 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.7937, allocations: 229.1 kB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.7939, allocations: 0.6971 MB / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.7939, allocations: 16.62 kB / 0.9637 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7939, allocations: 3.938 kB / 0.9637 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of Templates: time 0.003776/0.7977, allocations: 1.861 MB / 0.9655 GB, free: 15.89 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/jenkins1/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