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.006889/0.006889, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001135/0.001135, allocations: 197.3 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.254/2.254, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8279, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.00222/0.8301, allocations: 0.6674 MB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.8313, allocations: 0.7878 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.8314, allocations: 3.938 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.8314, allocations: 5.094 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.8315, allocations: 7.938 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.505e-05/0.8316, allocations: 7.531 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.8317, allocations: 25.45 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.8318, allocations: 4.781 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.8319, allocations: 9.531 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.8319, allocations: 17.61 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.832, allocations: 1.344 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.832, allocations: 2.156 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.832, allocations: 1.516 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.832, allocations: 15.58 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.18e-05/0.8321, allocations: 26.33 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8322, allocations: 0 / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8322, allocations: 0 / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.8322, allocations: 1.031 kB / 1.089 GB, free: 4.18 MB / 0.8575 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.0004433/0.8326, allocations: 339.4 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.8327, allocations: 9.438 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.8327, allocations: 32.8 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.8328, allocations: 2.281 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.812e-05/0.8329, allocations: 171.5 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8329, allocations: 1.406 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.8329, allocations: 1.438 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.8331, allocations: 49 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8332, allocations: 8.656 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.8332, allocations: 4 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8332, allocations: 0.9062 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.8335, allocations: 37.61 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.8339, allocations: 250.5 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.8341, allocations: 40.62 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.8342, allocations: 24.2 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.8342, allocations: 5.078 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.8343, allocations: 43.56 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.8343, allocations: 0 / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005023/0.8348, allocations: 83.89 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.8348, allocations: 52.72 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.8349, allocations: 102.8 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.8349, allocations: 29.83 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.835, allocations: 81.86 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.835, allocations: 5.734 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.8351, allocations: 16.56 kB / 1.09 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.8351, allocations: 316.6 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.8353, allocations: 18.55 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.8354, allocations: 17.84 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.8356, allocations: 42.55 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8357, allocations: 3.938 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002839/0.836, allocations: 66.09 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.836, allocations: 9.797 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.836, allocations: 0 / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.836, allocations: 4.641 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.8361, allocations: 8.469 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8362, allocations: 1.188 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.8362, allocations: 5.828 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.8363, allocations: 1.281 kB / 1.091 GB, free: 2.414 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 6.229e-05/0.8363, allocations: 112.3 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.8364, allocations: 6.531 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.8364, allocations: 8.891 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.8364, allocations: 4 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8364, allocations: 0 / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.8365, allocations: 2.016 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.8367, allocations: 163.5 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.8367, allocations: 1.406 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.8368, allocations: 8.625 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8368, allocations: 0 / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.8368, allocations: 1.062 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.8368, allocations: 0.8594 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8368, allocations: 1.094 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.8371, allocations: 166.1 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.8372, allocations: 83.59 kB / 1.091 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.8372, allocations: 3.938 kB / 1.091 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.8373, allocations: 6.578 kB / 1.091 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.8374, allocations: 2.109 kB / 1.091 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.8374, allocations: 1.125 kB / 1.091 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.8374, allocations: 92.14 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8375, allocations: 1.156 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004311/0.8379, allocations: 3.25 kB / 1.092 GB, free: 1.75 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.0006461/0.8386, allocations: 0.6978 MB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.8389, allocations: 35.84 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8389, allocations: 0 / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.839, allocations: 24.61 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.8396, allocations: 7.641 kB / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.8401, allocations: 142.3 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.8405, allocations: 0.6764 MB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.8405, allocations: 2.156 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.8406, allocations: 13.17 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/0.8406, allocations: 0 / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.8611, allocations: 1.303 MB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/8.348, allocations: 10.75 kB / 1.094 GB, free: 15.86 MB / 0.8731 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