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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007973/0.007973, allocations: 100.9 kB / 15.73 MB, free: 6 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.001967/0.001967, allocations: 189.6 kB / 16.67 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 75.88 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 162.2 MB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001748/0.3004, allocations: 0.6775 MB / 1.242 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.3013, allocations: 0.7845 MB / 1.243 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.3013, allocations: 0 / 1.243 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3014, allocations: 4 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.3014, allocations: 3.938 kB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.484e-05/0.3015, allocations: 11.98 kB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.3016, allocations: 23.92 kB / 1.243 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.3016, allocations: 8 kB / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.3017, allocations: 11.92 kB / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.3018, allocations: 8 kB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3018, allocations: 0 / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.3018, allocations: 7.938 kB / 1.243 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.3018, allocations: 11.97 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3018, allocations: 11.94 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.3019, allocations: 19.97 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3019, allocations: 0 / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3019, allocations: 3.938 kB / 1.243 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3019, allocations: 0 / 1.243 GB, free: 8.59 MB / 0.9981 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.0004497/0.3024, allocations: 335.5 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3024, allocations: 12.03 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.3025, allocations: 34.69 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.3025, allocations: 8.875 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3026, allocations: 168.3 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3027, allocations: 4.375 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.3027, allocations: 384 / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3028, allocations: 50.23 kB / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3029, allocations: 3.938 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.3029, allocations: 0 / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3029, allocations: 0 / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3031, allocations: 31.97 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.3034, allocations: 256.9 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3035, allocations: 42.5 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.296e-05/0.3036, allocations: 16.91 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3036, allocations: 0 / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3037, allocations: 38.55 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3037, allocations: 4 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003431/0.304, allocations: 81.55 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3041, allocations: 51.41 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.3042, allocations: 109.8 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3042, allocations: 25.7 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.3043, allocations: 88.27 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.3043, allocations: 7.953 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.3043, allocations: 13.7 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3045, allocations: 318.8 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.3046, allocations: 11.98 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.3046, allocations: 15.98 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3048, allocations: 44.88 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3048, allocations: 4.188 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.305, allocations: 69.59 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.305, allocations: 4 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3051, allocations: 4 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3051, allocations: 3.938 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.3052, allocations: 16.02 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3052, allocations: 0 / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3052, allocations: 7.984 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3052, allocations: 0 / 1.245 GB, free: 6.508 MB / 0.9981 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.924e-05/0.3053, allocations: 114.3 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3054, allocations: 4 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.3054, allocations: 3.125 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3054, allocations: 0 / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3054, allocations: 0 / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3054, allocations: 4 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3056, allocations: 169.5 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3056, allocations: 0 / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.3056, allocations: 7.984 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3057, allocations: 0 / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3057, allocations: 0 / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3057, allocations: 4 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3057, allocations: 3.938 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3059, allocations: 167.5 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.306, allocations: 77.11 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.306, allocations: 0 / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3061, allocations: 7.984 kB / 1.245 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3061, allocations: 4 kB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3061, allocations: 0 / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.3062, allocations: 79.28 kB / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3062, allocations: 4.031 kB / 1.245 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002163/0.3064, allocations: 4 kB / 1.245 GB, free: 5.773 MB / 0.9981 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.0005933/0.307, allocations: 0.7045 MB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3073, allocations: 44 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3073, allocations: 0 / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.3074, allocations: 15.98 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3076, allocations: 9.984 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.308, allocations: 147 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3083, allocations: 0.6808 MB / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.3084, allocations: 0 / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3084, allocations: 7.438 kB / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3084, allocations: 3.938 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.3287, allocations: 1.315 MB / 1.248 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.969, allocations: 13.89 kB / 1.248 GB, free: 2.879 MB / 0.9981 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 400 --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