Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008453/0.0008453, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8987/0.8987, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.758/1.758, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.793e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001376/0.001404, allocations: 0.6717 MB / 0.9829 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.002113, allocations: 0.8121 MB / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.002144, allocations: 0 / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.002169, allocations: 3.938 kB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.00222, allocations: 3.938 kB / 0.9837 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.133e-05/0.002272, allocations: 8 kB / 0.9837 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.002328, allocations: 19.92 kB / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.002416, allocations: 11.98 kB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.002472, allocations: 8 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.002502, allocations: 15.98 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.002523, allocations: 0 / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-06/0.002528, allocations: 4 kB / 0.9838 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.002546, allocations: 7.922 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.002564, allocations: 7.984 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.552e-05/0.002639, allocations: 23.91 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002641, allocations: 3.938 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002642, allocations: 0 / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.002646, allocations: 0 / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003585/0.003004, allocations: 266.3 kB / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.003042, allocations: 8.031 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.003069, allocations: 8.828 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.003166, allocations: 117.8 kB / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.003175, allocations: 384 / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.003183, allocations: 384 / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.0033, allocations: 50.19 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003308, allocations: 192 / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.003318, allocations: 8.359 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.003322, allocations: 384 / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.003409, allocations: 35.91 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.00365, allocations: 204.5 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.003731, allocations: 34.56 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.003775, allocations: 16.91 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.003784, allocations: 3.984 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.003805, allocations: 38.56 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.003806, allocations: 0 / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.004009, allocations: 93.47 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.004038, allocations: 51.41 kB / 0.9847 GB, free: 15.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.004091, allocations: 101.8 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.004101, allocations: 25.7 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.004133, allocations: 88.14 kB / 0.9849 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.004147, allocations: 3.953 kB / 0.9849 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.004173, allocations: 13.72 kB / 0.9849 GB, free: 15.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.004248, allocations: 323 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.004285, allocations: 11.98 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.004321, allocations: 19.98 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.004395, allocations: 36.83 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004397, allocations: 0 / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.004499, allocations: 69.66 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.004513, allocations: 10.97 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004518, allocations: 3.938 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004529, allocations: 0 / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.004587, allocations: 7.984 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.004591, allocations: 0 / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.004615, allocations: 7.984 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.00462, allocations: 4 kB / 0.9854 GB, free: 14.59 MB / 0.948 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 (2): * Single equations (assignments): 2 * 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 4.942e-05/0.00467, allocations: 109.8 kB / 0.9855 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.004681, allocations: 4.031 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.004695, allocations: 11.25 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004697, allocations: 0 / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004701, allocations: 3.938 kB / 0.9855 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.004704, allocations: 0 / 0.9855 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.453e-05/0.004788, allocations: 109.3 kB / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004789, allocations: 3.938 kB / 0.9856 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.004812, allocations: 12.23 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.004813, allocations: 0 / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.00482, allocations: 4 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.004823, allocations: 11.88 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004824, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.004945, allocations: 159.5 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.00495, allocations: 4 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-06/0.004959, allocations: 0 / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.004996, allocations: 11.92 kB / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.005027, allocations: 0 / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-06/0.005028, allocations: 0 / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.005055, allocations: 87.31 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.005055, allocations: 4 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001361/0.005191, allocations: 4 kB / 0.9859 GB, free: 14 MB / 0.948 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 (2): * Single equations (assignments): 2 * 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 7.444e-05/0.005266, allocations: 95.77 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.005387, allocations: 39.91 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005388, allocations: 0 / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.005429, allocations: 24.05 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.005617, allocations: 3.984 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.005847, allocations: 137.3 kB / 0.9862 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.005887, allocations: 59.36 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.005911, allocations: 8.5 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.005911, allocations: 0 / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of Templates: time 0.001315/0.007226, allocations: 0.5725 MB / 0.9868 GB, free: 13.02 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.565816375426948]