Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00127/0.00127, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001325/0.001325, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.408/2.408, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7138, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001641/0.7155, allocations: 0.5402 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.827e-05/0.7156, allocations: 0 / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.7156, allocations: 3.938 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.7156, allocations: 4 kB / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.607e-05/0.7157, allocations: 7.938 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.68e-05/0.7157, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.7157, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.7158, allocations: 3.984 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.7158, allocations: 11.98 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.534e-05/0.7158, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.7159, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-06/0.7159, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.7159, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.7159, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.142e-05/0.716, allocations: 3.938 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.716, allocations: 11.94 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.716, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.716, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 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.0002841/0.7163, allocations: 315.5 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.7163, allocations: 12.06 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.7163, allocations: 0.9375 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.7165, allocations: 160.4 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7165, allocations: 384 / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.7165, allocations: 384 / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.069e-05/0.7166, allocations: 38.2 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.7166, allocations: 192 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.7166, allocations: 7.922 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.7166, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.281e-05/0.7166, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.7169, allocations: 379.5 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.717, allocations: 177.1 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.717, allocations: 88.06 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.7171, allocations: 75.28 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.7171, allocations: 109.8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7171, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.285e-05/0.7172, allocations: 25.7 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7173, allocations: 134.7 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.7173, allocations: 89.86 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.7174, allocations: 25.7 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.7174, allocations: 84.14 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.7174, allocations: 0 / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.7174, allocations: 13.72 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7175, allocations: 314.8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-06/0.7175, allocations: 8.062 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.7175, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.7176, allocations: 79.22 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.7176, allocations: 79.28 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.188e-05/0.7177, allocations: 33.55 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.7177, allocations: 79.28 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.7177, allocations: 83.25 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-05/0.7178, allocations: 158.6 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.079e-05/0.7178, allocations: 75.28 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.314e-05/0.7179, allocations: 166.5 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.718, allocations: 79.28 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.718, allocations: 79.22 kB / 1.212 GB, free: 9.879 MB / 0.9356 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 0.0001047/0.7181, allocations: 260.3 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.7182, allocations: 109 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.7182, allocations: 112 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.7183, allocations: 184.2 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.026e-05/0.7183, allocations: 176.3 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-05/0.7184, allocations: 184.2 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.7186, allocations: 405.2 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.7187, allocations: 109 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.7187, allocations: 104.9 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.105e-05/0.7188, allocations: 180.3 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.7188, allocations: 180.2 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.792e-05/0.7189, allocations: 180.2 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-05/0.7189, allocations: 188.3 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.7191, allocations: 304.1 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.7191, allocations: 190 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.7192, allocations: 176.3 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.7193, allocations: 113 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.7194, allocations: 184.2 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.7194, allocations: 101 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.7194, allocations: 75.28 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7194, allocations: 0 / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002732/0.7197, allocations: 4 kB / 1.215 GB, free: 6.211 MB / 0.9356 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.0001441/0.7199, allocations: 178.6 kB / 1.215 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.427e-05/0.7199, allocations: 3.938 kB / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7199, allocations: 0 / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.7199, allocations: 0 / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.7203, allocations: 467.6 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.7205, allocations: 177.9 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.7207, allocations: 0.6729 MB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.7207, allocations: 7.438 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.7207, allocations: 0 / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.001336/0.7221, allocations: 319.9 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches