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.001111/0.001111, 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.001103/0.001103, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 2.322/2.322, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6709, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.002138/0.673, allocations: 0.6612 MB / 0.9504 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.6739, allocations: 0.7952 MB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.674, allocations: 0 / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.674, allocations: 1.719 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.6741, allocations: 3.938 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.58e-05/0.6741, allocations: 5.156 kB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.6742, allocations: 24.98 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.6743, allocations: 11.88 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.6744, allocations: 6.688 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.307e-05/0.6744, allocations: 11.98 kB / 0.9512 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.6745, allocations: 5.125 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.6745, allocations: 2.406 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.6745, allocations: 5.219 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.6745, allocations: 9.75 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.297e-05/0.6746, allocations: 23.61 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6746, allocations: 1.062 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6746, allocations: 3.938 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6746, allocations: 0 / 0.9513 GB, free: 7.922 MB / 0.7169 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.0003771/0.675, allocations: 340.9 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6751, allocations: 13.06 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.6751, allocations: 30.75 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.6751, allocations: 3.469 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.6752, allocations: 165.6 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.6752, allocations: 5.594 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.6752, allocations: 1.906 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6754, allocations: 52.7 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6754, allocations: 3.938 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.6754, allocations: 1.312 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6754, allocations: 4 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.6756, allocations: 35.14 kB / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.6758, allocations: 253.2 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.676, allocations: 47.52 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.6761, allocations: 26.62 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.6761, allocations: 5.453 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.6761, allocations: 30.56 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.6761, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003214/0.6764, allocations: 81.45 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.6765, allocations: 55.53 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.6765, allocations: 100.1 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.6765, allocations: 34.91 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.6766, allocations: 81.45 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.6766, allocations: 3.906 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.6766, allocations: 16.34 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.6767, allocations: 312.1 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.6767, allocations: 24.84 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.6768, allocations: 14.45 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.677, allocations: 34.61 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.677, allocations: 5.438 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.6772, allocations: 72.34 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6772, allocations: 4.188 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6772, allocations: 1.406 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6772, allocations: 0 / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.6773, allocations: 17.55 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6773, allocations: 1.906 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.6774, allocations: 3.219 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.6774, allocations: 4 kB / 0.9531 GB, free: 6.051 MB / 0.7169 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 5.237e-05/0.6774, allocations: 120.5 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.6775, allocations: 1.344 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.6775, allocations: 11.06 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6775, allocations: 1.219 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6775, allocations: 0 / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6775, allocations: 0 / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.6776, allocations: 158.7 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6776, allocations: 0 / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.6777, allocations: 10.27 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6777, allocations: 4.844 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.6777, allocations: 4 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6777, allocations: 1.125 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6777, allocations: 0 / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.6779, allocations: 171.5 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.6779, allocations: 82.92 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.678, allocations: 3.984 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.678, allocations: 7.281 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.6781, allocations: 1.781 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.6781, allocations: 0 / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.6781, allocations: 87.8 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6781, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002044/0.6783, allocations: 3.281 kB / 0.9537 GB, free: 5.355 MB / 0.7169 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.0004288/0.6788, allocations: 0.7001 MB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.679, allocations: 40.7 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.679, allocations: 1.188 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.6791, allocations: 23.02 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.6794, allocations: 2.875 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.6798, allocations: 132.6 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.6799, allocations: 0.6816 MB / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.31e-05/0.6799, allocations: 3.906 kB / 0.9553 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.68, allocations: 16.28 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.68, allocations: 4.062 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.7145, allocations: 1.269 MB / 0.9565 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/8.084, allocations: 12.5 kB / 0.9565 GB, free: 3.082 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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