Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiplyByParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008713/0.008713, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.002166/0.002166, allocations: 192.3 kB / 16.68 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.542/2.542, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.319/4.319, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002187, allocations: 69.11 kB / 0.9505 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6075, allocations: 140.4 MB / 1.088 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.00333/0.6109, allocations: 0.6648 MB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.6127, allocations: 0.7848 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.6127, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.6128, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.613, allocations: 7.938 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.406e-05/0.6131, allocations: 3.984 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.6132, allocations: 27.92 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.6134, allocations: 7.984 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.6136, allocations: 19.86 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.6136, allocations: 11.94 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.6137, allocations: 4 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.6137, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.6137, allocations: 7.984 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.6138, allocations: 11.94 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.614, allocations: 19.91 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.614, allocations: 0 / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.516e-06/0.614, allocations: 0 / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.614, allocations: 0 / 1.089 GB, free: 352 kB / 0.8419 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.0008794/0.6149, allocations: 351.6 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.105e-05/0.615, allocations: 12.02 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.603e-05/0.6151, allocations: 34.75 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.6151, allocations: 4.938 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.6154, allocations: 168.3 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.6154, allocations: 384 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.6155, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.6158, allocations: 46.23 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6158, allocations: 11.94 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6158, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.6159, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.6161, allocations: 35.95 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.6167, allocations: 248.9 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.6169, allocations: 42.5 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.6171, allocations: 20.89 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.6171, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.6172, allocations: 38.56 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 4.668e-06/0.6172, allocations: 3.984 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005649/0.6178, allocations: 85.67 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.6178, allocations: 51.41 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.6181, allocations: 97.86 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.6181, allocations: 25.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.6182, allocations: 88.14 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.6183, allocations: 7.938 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.6184, allocations: 13.72 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.6186, allocations: 314.9 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.6187, allocations: 15.98 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6189, allocations: 15.98 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.6191, allocations: 44.75 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.6192, allocations: 3.938 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003428/0.6195, allocations: 73.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.6196, allocations: 9.344 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6196, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.6196, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.6198, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6198, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.6199, allocations: 15.88 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6199, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 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 0.0001333/0.6201, allocations: 121.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.6201, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.6202, allocations: 7.109 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6202, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6202, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6202, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.6206, allocations: 157.9 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6206, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.6207, allocations: 11.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6207, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6207, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6207, allocations: 3.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6207, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.6211, allocations: 159.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.6212, allocations: 81.06 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.6213, allocations: 4.031 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.6214, allocations: 11.98 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.6215, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.6215, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.422e-05/0.6216, allocations: 83.27 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.31e-07/0.6216, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004257/0.6221, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 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.0009037/0.623, allocations: 0.7046 MB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.6233, allocations: 31.97 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6233, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.6235, allocations: 24.06 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.6241, allocations: 15.88 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.6248, allocations: 131.2 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.6253, allocations: 0.6768 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.6254, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.6254, allocations: 11.44 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of SimCode: time 8.52e-07/0.6255, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.6569, allocations: 1.308 MB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.21, allocations: 15.31 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches