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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00204/0.002041, allocations: 108 kB / 15.61 MB, free: 152 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.001974/0.001974, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 65.73 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3212, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002615/0.3239, allocations: 0.6667 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3249, allocations: 0.7962 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.325, allocations: 4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.325, allocations: 3.938 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.3251, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.411e-05/0.3252, allocations: 4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.3252, allocations: 27.92 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3254, allocations: 7.984 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.3254, allocations: 7.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.589e-05/0.3255, allocations: 15.92 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3255, allocations: 4 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-06/0.3255, allocations: 7.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.3255, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3256, allocations: 11.94 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.462e-05/0.3257, allocations: 27.88 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3257, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3257, allocations: 3.938 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3257, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 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.000459/0.3261, allocations: 343.7 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3262, allocations: 8.031 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.3262, allocations: 38.75 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.3263, allocations: 4.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3264, allocations: 164.4 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3264, allocations: 384 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.3264, allocations: 4.375 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3266, allocations: 54.22 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3266, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3266, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3266, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.3268, allocations: 43.89 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3272, allocations: 244.9 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3273, allocations: 42.48 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.3274, allocations: 28.91 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3274, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3274, allocations: 30.56 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3274, allocations: 0 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003622/0.3278, allocations: 85.58 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3279, allocations: 51.53 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.3279, allocations: 105.8 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.328, allocations: 29.7 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.328, allocations: 80.14 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.328, allocations: 7.906 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.3281, allocations: 13.72 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.3282, allocations: 310.8 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.3283, allocations: 19.97 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.3284, allocations: 19.98 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3285, allocations: 40.77 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3285, allocations: 3.938 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.3287, allocations: 65.66 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3288, allocations: 8.094 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3288, allocations: 4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3288, allocations: 3.938 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.3289, allocations: 7.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3289, allocations: 3.938 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.329, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.329, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 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.741e-05/0.329, allocations: 117.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.3291, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.3291, allocations: 11.12 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3291, allocations: 4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3291, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3291, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3293, allocations: 161.5 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3293, allocations: 256 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.3293, allocations: 15.92 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3293, allocations: 4 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3294, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3294, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3294, allocations: 4 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3296, allocations: 163.5 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.3296, allocations: 81.05 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3297, allocations: 3.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.3297, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3298, allocations: 8.031 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3298, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.3298, allocations: 87.27 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3298, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002108/0.3301, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 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.0005477/0.3306, allocations: 0.7012 MB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3308, allocations: 35.95 kB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3308, allocations: 0 / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.3309, allocations: 23.92 kB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3313, allocations: 9.703 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3317, allocations: 135.2 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.332, allocations: 0.6768 MB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.332, allocations: 4 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3321, allocations: 7.438 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3321, allocations: 3.938 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.3505, allocations: 1.287 MB / 1.07 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.777, allocations: 1.125 kB / 1.07 GB, free: 7.211 MB / 0.8262 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