Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005889/0.005889, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001299/0.001299, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 66.58 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001914/0.274, allocations: 0.73 MB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.2749, allocations: 0.7924 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.2749, allocations: 0 / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.275, allocations: 7.938 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.275, allocations: 0 / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.656e-05/0.2751, allocations: 4 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.2752, allocations: 31.86 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.2753, allocations: 7.984 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.2753, allocations: 3.984 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.2754, allocations: 15.92 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2754, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-06/0.2754, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2754, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.2754, allocations: 11.94 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.745e-05/0.2755, allocations: 11.97 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2755, allocations: 4 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.62e-07/0.2755, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2755, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 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.0004377/0.276, allocations: 339.7 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.276, allocations: 12.03 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.276, allocations: 8.828 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2762, allocations: 168.4 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2762, allocations: 4.375 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2762, allocations: 4.312 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2764, allocations: 50.23 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2764, allocations: 192 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2764, allocations: 3.938 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2764, allocations: 3.938 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2766, allocations: 35.97 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.2769, allocations: 249 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2771, allocations: 38.44 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.2772, allocations: 24.91 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2772, allocations: 3.938 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2772, allocations: 38.55 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2772, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003414/0.2776, allocations: 81.56 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2776, allocations: 51.41 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.2777, allocations: 109.8 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2777, allocations: 29.83 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2778, allocations: 84.14 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2778, allocations: 3.906 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.2779, allocations: 17.7 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.278, allocations: 310.8 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-05/0.2781, allocations: 15.98 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.2781, allocations: 15.98 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2783, allocations: 48.88 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2783, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.2785, allocations: 61.61 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2785, allocations: 8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2785, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2786, allocations: 7.969 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.2787, allocations: 7.984 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2787, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.2787, allocations: 8.234 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2787, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 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 7.147e-05/0.2788, allocations: 113.8 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.2788, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.2789, allocations: 7.125 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2789, allocations: 4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2789, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2789, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.279, allocations: 161.6 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2791, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.2791, allocations: 11.98 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2791, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2791, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.2792, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2792, allocations: 3.938 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.2794, allocations: 175.3 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2795, allocations: 81.05 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2795, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.2796, allocations: 3.984 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2796, allocations: 4 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.2796, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.2797, allocations: 87.31 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2797, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000221/0.2799, allocations: 7.938 kB / 1.057 GB, free: 3.91 MB / 0.8106 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 0.0001406/0.28, allocations: 107.2 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2802, allocations: 31.97 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2803, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.2803, allocations: 27.98 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2807, allocations: 13.81 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.281, allocations: 133 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2812, allocations: 0.6731 MB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.2813, allocations: 7.438 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.2813, allocations: 4.062 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of Templates: time 0.001774/0.283, allocations: 0.5529 MB / 1.058 GB, free: 2.301 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches