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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008743/0.0008743, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005672/0.005672, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 15.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6587, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.0006688/0.6595, allocations: 395.4 kB / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.6601, allocations: 0.7943 MB / 0.9563 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.6602, allocations: 0 / 0.9563 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.6602, allocations: 3.938 kB / 0.9563 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.6603, allocations: 1.156 kB / 0.9563 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.907e-05/0.6603, allocations: 9.266 kB / 0.9564 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.665e-05/0.6604, allocations: 22.09 kB / 0.9564 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.6605, allocations: 5.984 kB / 0.9564 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.6606, allocations: 3.75 kB / 0.9564 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.606e-05/0.6606, allocations: 14.36 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.6606, allocations: 5.062 kB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.6607, allocations: 1.188 kB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.6607, allocations: 1.031 kB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.6607, allocations: 35.67 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.951e-05/0.6608, allocations: 23.53 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6608, allocations: 0 / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6608, allocations: 1.281 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6608, allocations: 0 / 0.9565 GB, free: 6.715 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.000397/0.6612, allocations: 346.5 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.6613, allocations: 10.28 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.6613, allocations: 30.75 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.6614, allocations: 2.125 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.6615, allocations: 173.8 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6615, allocations: 5.656 kB / 0.957 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.6615, allocations: 5.797 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.6617, allocations: 58.17 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6617, allocations: 3.938 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6617, allocations: 1.062 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6617, allocations: 0 / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.6619, allocations: 45.05 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.6622, allocations: 254.5 kB / 0.9574 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.6623, allocations: 50.75 kB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.6624, allocations: 32.47 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-06/0.6624, allocations: 3.938 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.093e-05/0.6624, allocations: 31.84 kB / 0.9575 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6624, allocations: 0 / 0.9575 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003208/0.6627, allocations: 103.2 kB / 0.9576 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.6628, allocations: 52.44 kB / 0.9576 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/0.6628, allocations: 104.4 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.6628, allocations: 25.7 kB / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.6629, allocations: 81.14 kB / 0.9578 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.6629, allocations: 9.188 kB / 0.9578 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.6629, allocations: 10.84 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.6629, allocations: 315.9 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.663, allocations: 21.28 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.6631, allocations: 22.86 kB / 0.9582 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.6633, allocations: 48.92 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6633, allocations: 5.219 kB / 0.9582 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.6635, allocations: 82.16 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6635, allocations: 4.906 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.6635, allocations: 0 / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.6635, allocations: 1.281 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.6636, allocations: 11.7 kB / 0.9583 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6636, allocations: 1.375 kB / 0.9583 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.6636, allocations: 13.91 kB / 0.9583 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.6637, allocations: 0 / 0.9583 GB, free: 4.836 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 4.318e-05/0.6637, allocations: 119.3 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.6637, allocations: 1.688 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.6638, allocations: 4.438 kB / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6638, allocations: 0 / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6638, allocations: 1.281 kB / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.6638, allocations: 0 / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.6639, allocations: 166.7 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6639, allocations: 0 / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.6639, allocations: 12.08 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6639, allocations: 1 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.664, allocations: 3.938 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.664, allocations: 0.9688 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.664, allocations: 256 / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.6642, allocations: 177.5 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.6642, allocations: 77.11 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.6642, allocations: 13.02 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.6643, allocations: 10.78 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.6643, allocations: 1.375 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.6643, allocations: 0 / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.6644, allocations: 87.36 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6644, allocations: 0 / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001974/0.6646, allocations: 3.875 kB / 0.959 GB, free: 4.145 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.0003667/0.6649, allocations: 0.7151 MB / 0.9597 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.6651, allocations: 54.86 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6651, allocations: 0 / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.6652, allocations: 21.27 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.6655, allocations: 5.844 kB / 0.9598 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.6658, allocations: 139.3 kB / 0.9599 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.297e-05/0.6659, allocations: 0.681 MB / 0.9606 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.6659, allocations: 1.094 kB / 0.9606 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.6659, allocations: 8.469 kB / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6659, allocations: 0 / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2553/0.9213, allocations: 1.061 MB / 0.9616 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.9214, allocations: 218.2 kB / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.653, allocations: 0 / 0.9618 GB, free: 1.844 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