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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_latest_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.0102/0.0102, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001865/0.001865, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.811/2.811, allocations: 469.4 MB / 0.7421 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3244, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001781/0.3262, allocations: 0.6789 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.3271, allocations: 0.7824 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.3272, allocations: 4 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.3272, allocations: 3.938 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.3273, allocations: 7.938 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.2e-05/0.3274, allocations: 7.984 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.3274, allocations: 19.98 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3275, allocations: 7.984 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3276, allocations: 11.94 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.3277, allocations: 15.92 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3277, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.3277, allocations: 7.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.3277, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.3277, allocations: 19.92 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.997e-05/0.3278, allocations: 19.95 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3278, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3278, allocations: 3.938 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3279, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 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.0004343/0.3283, allocations: 335.5 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3283, allocations: 8.031 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.3284, allocations: 34.75 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.3284, allocations: 8.891 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3285, allocations: 172.3 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.3285, allocations: 384 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3286, allocations: 384 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3287, allocations: 46.25 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3287, allocations: 7.875 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3288, allocations: 3.984 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3288, allocations: 4 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3289, allocations: 31.97 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.3292, allocations: 244.9 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3294, allocations: 42.53 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.3295, allocations: 20.91 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3295, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3295, allocations: 42.5 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3295, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.3299, allocations: 81.59 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.3299, allocations: 59.34 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.33, allocations: 101.8 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.33, allocations: 29.83 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.33, allocations: 84.14 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3301, allocations: 7.953 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.3301, allocations: 9.719 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3302, allocations: 318.8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.3303, allocations: 15.98 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.3304, allocations: 15.92 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3305, allocations: 44.89 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3305, allocations: 3.938 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.3307, allocations: 65.66 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3308, allocations: 4 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3308, allocations: 256 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3308, allocations: 11.95 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.3309, allocations: 15.98 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3309, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.3309, allocations: 7.984 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.331, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 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 6.718e-05/0.331, allocations: 114.3 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3311, allocations: 11.89 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.3311, allocations: 3.125 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3311, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3311, allocations: 4 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3311, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.3312, allocations: 165.6 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3313, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.3313, allocations: 4 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3313, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3313, allocations: 7.984 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3313, allocations: 0 / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3313, allocations: 0 / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3316, allocations: 163.5 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.3316, allocations: 81.09 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3316, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.3317, allocations: 4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.3318, allocations: 3.984 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3318, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.3318, allocations: 91.25 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3318, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000214/0.332, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 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.0005329/0.3326, allocations: 0.7006 MB / 1.224 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3328, allocations: 39.95 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3328, allocations: 0 / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.3329, allocations: 23.92 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3332, allocations: 3.938 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.3336, allocations: 143.1 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.3338, allocations: 0.6768 MB / 1.225 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3339, allocations: 0 / 1.225 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.3339, allocations: 7.438 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3339, allocations: 7.938 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.3512, allocations: 1.314 MB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.922, allocations: 15.36 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv","/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