Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001094, allocations: 108 kB / 15.6 MB, free: 132 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.001091/0.001091, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5809, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001818/0.5828, allocations: 0.6727 MB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.5836, allocations: 0.7884 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.5836, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.5836, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.5837, allocations: 3.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.256e-05/0.5838, allocations: 8 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.5839, allocations: 27.92 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.584, allocations: 7.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.584, allocations: 15.92 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.5841, allocations: 7.984 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.5841, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.302e-06/0.5841, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.5841, allocations: 7.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.5842, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.5842, allocations: 23.95 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5842, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5842, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5843, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 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.0004562/0.5847, allocations: 337.7 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5848, allocations: 8.031 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.5848, allocations: 34.75 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.5848, allocations: 12.72 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5849, allocations: 168.4 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.585, allocations: 8.375 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.585, allocations: 384 / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.5851, allocations: 50.23 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5852, allocations: 3.938 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5852, allocations: 0 / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5852, allocations: 0 / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.5854, allocations: 35.95 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.5857, allocations: 252.9 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.5858, allocations: 42.48 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.5859, allocations: 24.91 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5859, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.586, allocations: 38.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.586, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003253/0.5863, allocations: 89.52 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5863, allocations: 51.41 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.5864, allocations: 105.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.5864, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.5865, allocations: 88.17 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.5865, allocations: 3.984 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.5865, allocations: 17.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.5866, allocations: 310.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.5867, allocations: 19.97 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.5868, allocations: 15.98 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.5869, allocations: 36.89 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5869, allocations: 7.938 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.5871, allocations: 73.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5871, allocations: 8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5872, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5872, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.5873, allocations: 7.984 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5873, allocations: 4.031 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.5873, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.5873, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 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.099e-05/0.5874, allocations: 121.7 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.5874, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.5875, allocations: 7.125 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5875, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5875, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5875, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5876, allocations: 157.6 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5876, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.5877, allocations: 11.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.5877, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.5877, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5877, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5877, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5879, allocations: 175.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.588, allocations: 81.02 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.588, allocations: 7.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.5881, allocations: 256 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.5881, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.5881, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.5882, allocations: 87.27 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5882, allocations: 4.031 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000204/0.5884, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 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.0005205/0.5889, allocations: 0.7006 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.5891, allocations: 39.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5891, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.5892, allocations: 19.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.5895, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.5899, allocations: 143.2 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.5902, allocations: 0.6807 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.5902, allocations: 3.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.5902, allocations: 11.44 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5903, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.6062, allocations: 1.266 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.465, allocations: 4.438 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches