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.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.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.001127/0.001127, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.001197/0.001197, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.475/2.475, allocations: 390.3 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 70.22 kB / 0.8127 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2774, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002094/0.2795, allocations: 0.7185 MB / 0.9505 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.281, allocations: 1.187 MB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.2811, allocations: 4 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.2812, allocations: 3.938 kB / 0.9517 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.2813, allocations: 11.91 kB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.282, allocations: 195.5 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2823, allocations: 187.7 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2824, allocations: 7.984 kB / 0.952 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2825, allocations: 67.94 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.2826, allocations: 47.81 kB / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.2827, allocations: 16 kB / 0.9522 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2828, allocations: 31.97 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.2828, allocations: 12 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.2829, allocations: 55.83 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2831, allocations: 103.8 kB / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2831, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2831, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2831, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7325 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.0005994/0.2837, allocations: 446.8 kB / 0.9528 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2838, allocations: 8.031 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.175e-05/0.2839, allocations: 12.84 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.284, allocations: 168.4 kB / 0.953 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.284, allocations: 16.36 kB / 0.953 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.2841, allocations: 8.375 kB / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.2842, allocations: 42.25 kB / 0.953 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2842, allocations: 4.188 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2842, allocations: 7.938 kB / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2842, allocations: 0 / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.2843, allocations: 23.86 kB / 0.9531 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.2848, allocations: 352.7 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.2849, allocations: 38.52 kB / 0.9534 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.2849, allocations: 12.94 kB / 0.9535 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2849, allocations: 7.938 kB / 0.9535 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.2852, allocations: 79.31 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.2852, allocations: 0 / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002682/0.2854, allocations: 105.6 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2855, allocations: 59.39 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2856, allocations: 117.8 kB / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.2856, allocations: 29.7 kB / 0.9538 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.2857, allocations: 88.14 kB / 0.9539 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2857, allocations: 15.81 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2859, allocations: 49.67 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.286, allocations: 322.7 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.2861, allocations: 63.97 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2863, allocations: 92.25 kB / 0.9544 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2865, allocations: 159.6 kB / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2865, allocations: 0 / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004213/0.2869, allocations: 257.3 kB / 0.9548 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.287, allocations: 71.33 kB / 0.9549 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.287, allocations: 0 / 0.9549 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.287, allocations: 11.97 kB / 0.9549 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.61e-05/0.2871, allocations: 4 kB / 0.9549 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2871, allocations: 7.938 kB / 0.9549 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.2875, allocations: 52.06 kB / 0.955 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.2875, allocations: 11.98 kB / 0.955 GB, free: 3.539 MB / 0.7325 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 0.0001157/0.2876, allocations: 132.5 kB / 0.9551 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.2876, allocations: 7.906 kB / 0.9551 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.2877, allocations: 8.359 kB / 0.9551 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2877, allocations: 4 kB / 0.9551 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2877, allocations: 4 kB / 0.9551 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2877, allocations: 0 / 0.9551 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.2878, allocations: 181.6 kB / 0.9553 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2879, allocations: 4.062 kB / 0.9553 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-06/0.2879, allocations: 0 / 0.9553 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2879, allocations: 3.984 kB / 0.9553 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2879, allocations: 4 kB / 0.9553 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2879, allocations: 0 / 0.9553 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2879, allocations: 3.938 kB / 0.9553 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2881, allocations: 120.9 kB / 0.9554 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.2881, allocations: 77.11 kB / 0.9555 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2881, allocations: 0 / 0.9555 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.2882, allocations: 4 kB / 0.9555 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.2882, allocations: 3.984 kB / 0.9555 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.2882, allocations: 8 kB / 0.9555 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.2883, allocations: 91.27 kB / 0.9556 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2883, allocations: 0 / 0.9556 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002435/0.2885, allocations: 31.91 kB / 0.9556 GB, free: 2.77 MB / 0.7325 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.0001627/0.2887, allocations: 107.5 kB / 0.9558 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.289, allocations: 246.6 kB / 0.956 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.289, allocations: 0 / 0.956 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.2891, allocations: 39.91 kB / 0.956 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2894, allocations: 16.78 kB / 0.956 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.2897, allocations: 192.5 kB / 0.9562 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.29, allocations: 0.6922 MB / 0.9569 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.29, allocations: 11.44 kB / 0.9569 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.29, allocations: 0 / 0.9569 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.003022/0.293, allocations: 1.377 MB / 0.9583 GB, free: 12 kB / 0.7325 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