Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 91.61 kB / 16.02 MB, free: 80 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.001591/0.001591, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.277 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.337/2.337, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7872, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008704/0.7881, allocations: 390.6 kB / 0.9561 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.7897, allocations: 1.197 MB / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.7898, allocations: 1.188 kB / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.7898, allocations: 0 / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.7899, allocations: 8.859 kB / 0.9573 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.7906, allocations: 200.1 kB / 0.9575 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.7908, allocations: 145.9 kB / 0.9576 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.7909, allocations: 16.42 kB / 0.9576 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.7911, allocations: 58.94 kB / 0.9577 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.7912, allocations: 49.44 kB / 0.9577 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.7912, allocations: 7.469 kB / 0.9577 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.7913, allocations: 27.39 kB / 0.9578 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.7913, allocations: 10.58 kB / 0.9578 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.7914, allocations: 77.03 kB / 0.9578 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.7916, allocations: 99.83 kB / 0.9579 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7916, allocations: 0 / 0.9579 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7916, allocations: 0 / 0.9579 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7916, allocations: 0 / 0.9579 GB, free: 6.094 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004027/0.792, allocations: 412.5 kB / 0.9583 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7921, allocations: 9.688 kB / 0.9583 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.7922, allocations: 11.55 kB / 0.9584 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.7923, allocations: 178.8 kB / 0.9585 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.7923, allocations: 9.469 kB / 0.9585 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.7923, allocations: 12.19 kB / 0.9585 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.7924, allocations: 47.61 kB / 0.9586 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.7925, allocations: 1.281 kB / 0.9586 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.7925, allocations: 3.938 kB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.7925, allocations: 1.156 kB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.7925, allocations: 12.09 kB / 0.9586 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.793, allocations: 350.8 kB / 0.9589 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.7931, allocations: 40.19 kB / 0.959 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.7932, allocations: 15.73 kB / 0.959 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.7932, allocations: 0 / 0.959 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.7933, allocations: 84.45 kB / 0.9591 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.7933, allocations: 0 / 0.9591 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002437/0.7936, allocations: 111.3 kB / 0.9592 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.7936, allocations: 60.91 kB / 0.9592 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.7937, allocations: 115.5 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.7937, allocations: 28.58 kB / 0.9594 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.7938, allocations: 98.12 kB / 0.9595 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.7938, allocations: 9.219 kB / 0.9595 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.7939, allocations: 21.97 kB / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.7939, allocations: 324.1 kB / 0.9598 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.7941, allocations: 67.84 kB / 0.9599 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.7942, allocations: 95.44 kB / 0.96 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.7944, allocations: 161.1 kB / 0.9601 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7944, allocations: 4 kB / 0.9601 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004438/0.7948, allocations: 251.2 kB / 0.9604 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.7949, allocations: 67.64 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7949, allocations: 1.375 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7949, allocations: 2.75 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.795, allocations: 5.359 kB / 0.9604 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.795, allocations: 2.75 kB / 0.9604 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.7954, allocations: 88.73 kB / 0.9605 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.7955, allocations: 12.23 kB / 0.9605 GB, free: 3.629 MB / 0.7169 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,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 (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 9.438e-05/0.7956, allocations: 130 kB / 0.9607 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.7956, allocations: 6.656 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.7957, allocations: 9.75 kB / 0.9607 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.7957, allocations: 5.359 kB / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7957, allocations: 1.375 kB / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7957, allocations: 0 / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.7958, allocations: 180.6 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7958, allocations: 0 / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.7958, allocations: 1.375 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7958, allocations: 5.375 kB / 0.9609 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7958, allocations: 9.359 kB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7958, allocations: 0 / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.7958, allocations: 0 / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.796, allocations: 113.1 kB / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.796, allocations: 86.33 kB / 0.9611 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.796, allocations: 5.375 kB / 0.9611 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.7961, allocations: 5.312 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.7961, allocations: 10.73 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7961, allocations: 2.75 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.7962, allocations: 90.14 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7962, allocations: 1.375 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002453/0.7964, allocations: 30.12 kB / 0.9612 GB, free: 2.961 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001431/0.7966, allocations: 98.5 kB / 0.9613 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.7969, allocations: 253.1 kB / 0.9615 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7969, allocations: 0 / 0.9615 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.797, allocations: 37.78 kB / 0.9616 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.7972, allocations: 12.2 kB / 0.9616 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.7975, allocations: 194.8 kB / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.7977, allocations: 0.6878 MB / 0.9624 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.7977, allocations: 11.16 kB / 0.9624 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.7977, allocations: 0 / 0.9624 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.003421/0.8011, allocations: 1.365 MB / 0.9638 GB, free: 1.059 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches