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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 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.001192/0.001192, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.49/2.49, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7252, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.002579/0.7278, allocations: 0.6633 MB / 0.9504 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.729, allocations: 0.791 MB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.7291, allocations: 4 kB / 0.9512 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.7291, allocations: 5.391 kB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.7292, allocations: 3.938 kB / 0.9512 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.086e-05/0.7293, allocations: 5.438 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.7294, allocations: 26.08 kB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.7296, allocations: 2.938 kB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.7297, allocations: 10.92 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.7297, allocations: 14.89 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.7298, allocations: 2.312 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.7298, allocations: 6.812 kB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.7298, allocations: 0 / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.7299, allocations: 9.406 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.285e-05/0.73, allocations: 25.05 kB / 0.9513 GB, free: 8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.73, allocations: 4 kB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.73, allocations: 0 / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.73, allocations: 5.203 kB / 0.9513 GB, free: 7.992 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.0004787/0.7305, allocations: 335 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.7306, allocations: 9.781 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.7306, allocations: 40.12 kB / 0.9516 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.7307, allocations: 1.906 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7308, allocations: 165.7 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7308, allocations: 1.25 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.7308, allocations: 5.656 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.7311, allocations: 49.55 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7311, allocations: 3.938 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.7311, allocations: 1.406 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7311, allocations: 0 / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.7314, allocations: 39.02 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.7318, allocations: 245.4 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.732, allocations: 52.19 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.7321, allocations: 30.2 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.7322, allocations: 3.984 kB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7322, allocations: 31.91 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/0.7322, allocations: 0 / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005258/0.7327, allocations: 81.67 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.7328, allocations: 55.53 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.7329, allocations: 104 kB / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.7329, allocations: 25.7 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.7329, allocations: 81.55 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.733, allocations: 13.2 kB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.733, allocations: 12.25 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.7331, allocations: 312.2 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.7333, allocations: 20.98 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.7334, allocations: 16.62 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.7337, allocations: 40.77 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7337, allocations: 4.188 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003081/0.734, allocations: 69.03 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.734, allocations: 8.344 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7341, allocations: 4 kB / 0.9531 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7341, allocations: 1.688 kB / 0.9531 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.7342, allocations: 9.156 kB / 0.9531 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7342, allocations: 3.984 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.7343, allocations: 8.922 kB / 0.9531 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.7343, allocations: 0 / 0.9531 GB, free: 6.121 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 6.145e-05/0.7344, allocations: 115.2 kB / 0.9532 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.7344, allocations: 5.219 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.7345, allocations: 8.891 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.7345, allocations: 0 / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7345, allocations: 0 / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7345, allocations: 2 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.7347, allocations: 156.9 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7347, allocations: 1.781 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.7348, allocations: 9.141 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.7348, allocations: 0 / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.7349, allocations: 5.125 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7349, allocations: 4 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7349, allocations: 1.094 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.7352, allocations: 171.5 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.7353, allocations: 81.02 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.7353, allocations: 1.469 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.7354, allocations: 10.64 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.7355, allocations: 5.25 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.7355, allocations: 1.25 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.7356, allocations: 86.86 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7356, allocations: 1.219 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004064/0.736, allocations: 3.562 kB / 0.9537 GB, free: 5.426 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.0005807/0.7366, allocations: 0.6975 MB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.737, allocations: 37.53 kB / 0.9544 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.737, allocations: 0 / 0.9544 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.7372, allocations: 23.69 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.7377, allocations: 6.344 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.7383, allocations: 137.6 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.7384, allocations: 0.6809 MB / 0.9553 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.7385, allocations: 3.906 kB / 0.9553 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.7385, allocations: 8.906 kB / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.7385, allocations: 0 / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.7612, allocations: 1.276 MB / 0.9565 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/8.267, allocations: 18.83 kB / 0.9565 GB, free: 3.141 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 & 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