Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_10_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.005623/0.005623, allocations: 99.67 kB / 15.73 MB, free: 6.059 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.001422/0.001422, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.2/2.2, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.404/4.404, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003861/0.003862, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5532, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.003122/0.5564, allocations: 0.6711 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.5581, allocations: 0.7887 MB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.5581, allocations: 0 / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.5582, allocations: 3.938 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.5583, allocations: 7.938 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.737e-05/0.5584, allocations: 7.984 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.5585, allocations: 23.92 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.5587, allocations: 12 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.5588, allocations: 11.98 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.5589, allocations: 15.92 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.5589, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.5589, allocations: 4 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.559, allocations: 3.984 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.559, allocations: 7.938 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.5591, allocations: 23.91 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5592, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5592, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.5592, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 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.0007687/0.56, allocations: 343.7 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.5601, allocations: 12.03 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.5601, allocations: 30.75 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.5601, allocations: 8.891 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.5604, allocations: 172.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.5604, allocations: 8.359 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.5604, allocations: 384 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.5607, allocations: 54.23 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.5607, allocations: 3.938 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5608, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5608, allocations: 3.938 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.5611, allocations: 31.97 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.5616, allocations: 248.9 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.5618, allocations: 46.5 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.562, allocations: 24.84 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.562, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.562, allocations: 30.56 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.5621, allocations: 0 / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000558/0.5626, allocations: 93.53 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.5627, allocations: 51.41 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5629, allocations: 105.8 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.5629, allocations: 25.7 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.563, allocations: 84.12 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.563, allocations: 7.953 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.5631, allocations: 13.72 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.5633, allocations: 319 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.5635, allocations: 19.98 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5636, allocations: 11.98 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.5639, allocations: 40.81 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5639, allocations: 3.938 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003234/0.5642, allocations: 73.67 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5643, allocations: 4 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5643, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5643, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5645, allocations: 11.98 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5645, allocations: 0 / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.5646, allocations: 11.92 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.5646, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 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.0001476/0.5648, allocations: 113.8 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.5648, allocations: 4 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.5649, allocations: 7.125 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5649, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5649, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5649, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.5652, allocations: 169.5 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5652, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.5653, allocations: 7.984 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5654, allocations: 4 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5654, allocations: 256 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5654, allocations: 7.938 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5654, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.5658, allocations: 167.4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.5659, allocations: 81.05 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.566, allocations: 4.031 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5661, allocations: 7.984 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.5662, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5662, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.5663, allocations: 83.28 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5663, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004382/0.5667, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 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.001305/0.568, allocations: 0.7045 MB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.5684, allocations: 35.97 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5684, allocations: 96 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.5686, allocations: 23.98 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.5691, allocations: 3.984 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.5698, allocations: 136.7 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.5702, allocations: 0.6767 MB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.5703, allocations: 3.984 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.5703, allocations: 11.44 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of SimCode: time 4.11e-07/0.5704, allocations: 4.062 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.6046, allocations: 1.296 MB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.48, allocations: 9.953 kB / 1.173 GB, free: 4 kB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches