Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_latest_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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001246/0.001246, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.11 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3309, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002243/0.3332, allocations: 0.7321 MB / 1.053 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3342, allocations: 0.7962 MB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.3343, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.3343, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.3344, allocations: 4 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.513e-05/0.3345, allocations: 3.984 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.3345, allocations: 23.92 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3347, allocations: 8 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.3347, allocations: 11.94 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.3348, allocations: 15.92 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3348, allocations: 4 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.3348, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.3348, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.3349, allocations: 15.92 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.234e-05/0.3349, allocations: 19.95 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3349, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.335, allocations: 3.938 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.335, allocations: 0 / 1.054 GB, free: 6.527 MB / 0.8106 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.0004665/0.3354, allocations: 339.8 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3355, allocations: 19.91 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.3355, allocations: 30.75 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.3356, allocations: 12.78 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3357, allocations: 168.4 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.3357, allocations: 384 / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3357, allocations: 4.375 kB / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.3359, allocations: 42.25 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3359, allocations: 7.922 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3359, allocations: 4 kB / 1.054 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3359, allocations: 4 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3361, allocations: 27.97 kB / 1.054 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.3364, allocations: 256.9 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3366, allocations: 38.5 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.3367, allocations: 20.91 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3367, allocations: 4 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3367, allocations: 30.56 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3367, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003507/0.3371, allocations: 89.48 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3371, allocations: 55.53 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.3372, allocations: 101.8 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3372, allocations: 25.7 kB / 1.055 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.3373, allocations: 88.14 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3373, allocations: 3.906 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3374, allocations: 13.72 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3375, allocations: 318.8 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.3376, allocations: 15.98 kB / 1.055 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.3376, allocations: 15.98 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3378, allocations: 36.83 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3378, allocations: 3.938 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.338, allocations: 73.66 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.338, allocations: 5.406 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.338, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3381, allocations: 7.938 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.3382, allocations: 7.984 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3382, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.3382, allocations: 7.984 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3382, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 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 8.705e-05/0.3383, allocations: 117.8 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3384, allocations: 4.031 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.3384, allocations: 3.125 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3384, allocations: 0 / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3384, allocations: 4 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3384, allocations: 3.984 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.3386, allocations: 161.6 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3386, allocations: 3.938 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.3387, allocations: 4 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3387, allocations: 8.234 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3387, allocations: 0 / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3387, allocations: 11.94 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3387, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.339, allocations: 163.4 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.339, allocations: 85.03 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.339, allocations: 0 / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.3391, allocations: 8.031 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.3391, allocations: 3.984 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3392, allocations: 4 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.3392, allocations: 83.28 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3392, allocations: 0 / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002062/0.3394, allocations: 4 kB / 1.056 GB, free: 3.699 MB / 0.8106 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.0005752/0.34, allocations: 0.7007 MB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3402, allocations: 35.95 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3402, allocations: 0 / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.3403, allocations: 20.08 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3406, allocations: 8.062 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.3411, allocations: 152.7 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.3413, allocations: 0.6731 MB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.3413, allocations: 0 / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.3414, allocations: 11.42 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3414, allocations: 4 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.3519, allocations: 1.109 MB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.3521, allocations: 223 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.918, allocations: 1.75 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches