Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007936/0.007936, allocations: 168.4 kB / 16.26 MB, free: 6.66 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.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.539/2.539, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.862, allocations: 142.4 MB / 0.9551 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0008276/0.8628, allocations: 272.4 kB / 0.9553 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.941e-05/0.8629, allocations: 9.516 kB / 0.9553 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.863, allocations: 0 / 0.9553 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.863, allocations: 3.938 kB / 0.9553 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.023e-05/0.863, allocations: 0 / 0.9553 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.799e-05/0.8631, allocations: 1.438 kB / 0.9553 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.8631, allocations: 1.438 kB / 0.9553 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.8632, allocations: 1.438 kB / 0.9553 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.725e-05/0.8632, allocations: 4 kB / 0.9553 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.304e-05/0.8633, allocations: 3.938 kB / 0.9553 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.8633, allocations: 1.062 kB / 0.9553 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.8633, allocations: 0 / 0.9553 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.8633, allocations: 0 / 0.9553 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.8634, allocations: 27.05 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.244e-05/0.8634, allocations: 3.984 kB / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8635, allocations: 1.062 kB / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8635, allocations: 0 / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8635, allocations: 3.938 kB / 0.9554 GB, free: 7.418 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.0002849/0.8638, allocations: 313.9 kB / 0.9557 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.8638, allocations: 9.875 kB / 0.9557 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.8639, allocations: 0.9375 kB / 0.9557 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.864, allocations: 169.8 kB / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.864, allocations: 384 / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.864, allocations: 384 / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.8641, allocations: 36.02 kB / 0.9559 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8641, allocations: 0 / 0.9559 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.8641, allocations: 3.938 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8641, allocations: 5.062 kB / 0.9559 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.8642, allocations: 1.438 kB / 0.9559 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.8645, allocations: 382.3 kB / 0.9563 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.8645, allocations: 174.5 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.8646, allocations: 80.14 kB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.8646, allocations: 80.66 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.8646, allocations: 105.8 kB / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8646, allocations: 1.5 kB / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.613e-05/0.8647, allocations: 29.69 kB / 0.9567 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.8648, allocations: 128.1 kB / 0.9568 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.8648, allocations: 96.45 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.8649, allocations: 29.83 kB / 0.957 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.8649, allocations: 81.52 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.8649, allocations: 0 / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.8649, allocations: 13.66 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.865, allocations: 316.2 kB / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-06/0.865, allocations: 0 / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-06/0.865, allocations: 0 / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.39e-05/0.865, allocations: 76.78 kB / 0.9574 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.865, allocations: 79.28 kB / 0.9575 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.816e-05/0.8651, allocations: 31.81 kB / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.8651, allocations: 80.88 kB / 0.9576 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.8651, allocations: 79.22 kB / 0.9577 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.932e-05/0.8652, allocations: 155.8 kB / 0.9578 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.421e-05/0.8652, allocations: 76.91 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.8652, allocations: 154.5 kB / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.8653, allocations: 84.62 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.8653, allocations: 80.72 kB / 0.9582 GB, free: 4.336 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 7.569e-05/0.8654, allocations: 265.5 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.8654, allocations: 106.6 kB / 0.9586 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.8655, allocations: 107.9 kB / 0.9587 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.8655, allocations: 187 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.042e-05/0.8656, allocations: 181.8 kB / 0.959 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.8656, allocations: 184.2 kB / 0.9592 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.8658, allocations: 403.7 kB / 0.9596 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.8658, allocations: 106.1 kB / 0.9597 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.8658, allocations: 108.9 kB / 0.9598 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.829e-05/0.8658, allocations: 181.5 kB / 0.96 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.8659, allocations: 181.6 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-05/0.8659, allocations: 181.8 kB / 0.9603 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-05/0.8659, allocations: 184.2 kB / 0.9605 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.322e-05/0.866, allocations: 307.7 kB / 0.9608 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.866, allocations: 191.2 kB / 0.961 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.8661, allocations: 181.5 kB / 0.9611 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.8662, allocations: 114.2 kB / 0.9612 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.8662, allocations: 177.3 kB / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.8662, allocations: 102.3 kB / 0.9615 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.8663, allocations: 81.72 kB / 0.9616 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8663, allocations: 0 / 0.9616 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002852/0.8666, allocations: 0 / 0.9616 GB, free: 0.6797 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.0001554/0.8667, allocations: 176.1 kB / 0.9617 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.569e-05/0.8668, allocations: 1 kB / 0.9617 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8668, allocations: 4 kB / 0.9618 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.8668, allocations: 0 / 0.9618 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.8671, allocations: 0.5286 MB / 0.9623 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.8674, allocations: 146.9 kB / 0.9624 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.8677, allocations: 0.6743 MB / 0.9631 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.528e-06/0.8678, allocations: 0 / 0.9631 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.8678, allocations: 7.438 kB / 0.9631 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.605e-06/0.8678, allocations: 5.219 kB / 0.9631 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.002237/0.87, allocations: 165.2 kB / 0.9632 GB, free: 15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches