Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.42 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.00139/0.00139, allocations: 185.5 kB / 16.92 MB, free: 6.688 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.348 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.594/2.594, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 12 kB / 0.8167 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7283, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006979/0.7291, allocations: 287.4 kB / 0.956 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.629e-05/0.7291, allocations: 9.531 kB / 0.956 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.7291, allocations: 0 / 0.956 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.7292, allocations: 3.938 kB / 0.956 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.7292, allocations: 0 / 0.956 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.137e-05/0.7292, allocations: 0 / 0.956 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.7293, allocations: 6.578 kB / 0.956 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.7294, allocations: 1.156 kB / 0.956 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.7294, allocations: 3.938 kB / 0.956 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.745e-05/0.7294, allocations: 0 / 0.956 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.7294, allocations: 5.312 kB / 0.956 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.7294, allocations: 0 / 0.956 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.7295, allocations: 0 / 0.956 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.7295, allocations: 27.08 kB / 0.9561 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.246e-05/0.7295, allocations: 7.984 kB / 0.9561 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7295, allocations: 0 / 0.9561 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7295, allocations: 1.625 kB / 0.9561 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7296, allocations: 0 / 0.9561 GB, free: 7.406 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001954/0.7298, allocations: 304.9 kB / 0.9564 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7298, allocations: 9.375 kB / 0.9564 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.7298, allocations: 6.062 kB / 0.9564 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.7299, allocations: 168.3 kB / 0.9565 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.7299, allocations: 1.312 kB / 0.9565 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.7299, allocations: 384 / 0.9565 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.73, allocations: 32.89 kB / 0.9566 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.73, allocations: 192 / 0.9566 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.7301, allocations: 3.938 kB / 0.9566 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7301, allocations: 0 / 0.9566 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.7301, allocations: 5.344 kB / 0.9566 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.7303, allocations: 383.3 kB / 0.9569 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.7304, allocations: 182 kB / 0.9571 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.7304, allocations: 81.39 kB / 0.9572 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.7304, allocations: 75.28 kB / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.7304, allocations: 111.3 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.7304, allocations: 0 / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.204e-05/0.7305, allocations: 27.11 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.7305, allocations: 130.6 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.7306, allocations: 100.5 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.7306, allocations: 26.73 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.399e-05/0.7306, allocations: 80.14 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.7306, allocations: 4.125 kB / 0.9577 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.7307, allocations: 10.81 kB / 0.9577 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.7307, allocations: 310.8 kB / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.7307, allocations: 1 kB / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-06/0.7307, allocations: 0 / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.193e-05/0.7307, allocations: 80.53 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.7308, allocations: 75.28 kB / 0.9582 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.858e-05/0.7308, allocations: 31.98 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.7308, allocations: 88.14 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7309, allocations: 84.28 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.7309, allocations: 151.8 kB / 0.9585 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.091e-05/0.7309, allocations: 79.22 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.7309, allocations: 151.7 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.731, allocations: 80.78 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.731, allocations: 84.69 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 5.455e-05/0.7311, allocations: 265.5 kB / 0.9591 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.7311, allocations: 106.3 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.7311, allocations: 113.2 kB / 0.9594 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.7312, allocations: 177.7 kB / 0.9595 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/0.7312, allocations: 181.6 kB / 0.9597 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.7312, allocations: 181.3 kB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.7314, allocations: 406.5 kB / 0.9603 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.7314, allocations: 106.1 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.7314, allocations: 106.2 kB / 0.9605 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/0.7314, allocations: 185.3 kB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.7315, allocations: 185.1 kB / 0.9608 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.161e-05/0.7315, allocations: 185.4 kB / 0.961 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-05/0.7315, allocations: 180.2 kB / 0.9612 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.7316, allocations: 307.7 kB / 0.9615 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.7316, allocations: 191.4 kB / 0.9616 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.7316, allocations: 177.5 kB / 0.9618 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.7317, allocations: 110.4 kB / 0.9619 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.7318, allocations: 181.7 kB / 0.9621 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.7318, allocations: 104.9 kB / 0.9622 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.873e-05/0.7318, allocations: 78.19 kB / 0.9623 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7318, allocations: 4.094 kB / 0.9623 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002359/0.732, allocations: 0 / 0.9623 GB, free: 0.6602 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001069/0.7322, allocations: 176.9 kB / 0.9624 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.56e-05/0.7322, allocations: 1.375 kB / 0.9624 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7322, allocations: 0 / 0.9624 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.7322, allocations: 0 / 0.9624 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.7325, allocations: 0.5285 MB / 0.963 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.7327, allocations: 180.7 kB / 0.9631 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.733, allocations: 0.6731 MB / 0.9638 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.733, allocations: 8.812 kB / 0.9638 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.733, allocations: 0 / 0.9638 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.001408/0.7344, allocations: 318.8 kB / 0.9641 GB, free: 14.9 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches