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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006714/0.006714, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001612/0.001612, allocations: 201.1 kB / 16.68 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 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.6 MB / 0.755 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.89 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 162.3 MB / 1.242 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001946/0.3322, allocations: 0.6712 MB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3332, allocations: 0.7845 MB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.3333, allocations: 3.938 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.3333, allocations: 0 / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.3334, allocations: 7.938 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.28e-05/0.3335, allocations: 3.984 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.3336, allocations: 23.92 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3337, allocations: 15.98 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.3338, allocations: 11.92 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.3339, allocations: 8 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3339, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3339, allocations: 4 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3339, allocations: 11.92 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.334, allocations: 7.938 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3341, allocations: 19.97 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3341, allocations: 0 / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3341, allocations: 0 / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3341, allocations: 0 / 1.243 GB, free: 8.137 MB / 0.9981 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.0005591/0.3347, allocations: 343.4 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3347, allocations: 12.03 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.3348, allocations: 34.73 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.3348, allocations: 4.891 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.335, allocations: 172.3 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.335, allocations: 384 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.335, allocations: 384 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3352, allocations: 58.17 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3352, allocations: 3.938 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3352, allocations: 0 / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3352, allocations: 0 / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3354, allocations: 39.95 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.3357, allocations: 245 kB / 1.244 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3359, allocations: 50.44 kB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/0.336, allocations: 20.89 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.336, allocations: 0 / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.336, allocations: 34.56 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.336, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.3364, allocations: 81.61 kB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3364, allocations: 55.39 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.3365, allocations: 101.9 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3365, allocations: 29.64 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.3366, allocations: 84.14 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.3366, allocations: 11.94 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.3367, allocations: 9.719 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3368, allocations: 319 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.3369, allocations: 19.92 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.337, allocations: 15.98 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3371, allocations: 40.81 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3371, allocations: 3.938 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.3373, allocations: 65.73 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3374, allocations: 7.984 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3374, allocations: 0 / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3374, allocations: 3.984 kB / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.3375, allocations: 11.94 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3375, allocations: 3.938 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.3375, allocations: 7.984 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.3375, allocations: 0 / 1.245 GB, free: 6.047 MB / 0.9981 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.122e-05/0.3376, allocations: 117.8 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.3377, allocations: 4 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.3377, allocations: 3.125 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3377, allocations: 3.984 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3377, allocations: 0 / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3377, allocations: 0 / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3379, allocations: 157.6 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3379, allocations: 4 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.338, allocations: 11.98 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.338, allocations: 4 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.338, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.338, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.338, allocations: 4 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3382, allocations: 163.3 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3383, allocations: 81.39 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3383, allocations: 4 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.3384, allocations: 15.98 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.3384, allocations: 0 / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3384, allocations: 0 / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.3385, allocations: 83.27 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3385, allocations: 0 / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002037/0.3387, allocations: 4 kB / 1.246 GB, free: 5.305 MB / 0.9981 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.0006169/0.3393, allocations: 0.7012 MB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3395, allocations: 39.91 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3395, allocations: 96 / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.3396, allocations: 23.97 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.3399, allocations: 14.31 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.3403, allocations: 131.1 kB / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3406, allocations: 0.6768 MB / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.3407, allocations: 0 / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.3407, allocations: 7.438 kB / 1.247 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3407, allocations: 4.062 kB / 1.247 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.936/1.277, allocations: 1.316 MB / 1.249 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.12, allocations: 16.7 kB / 1.249 GB, free: 2.426 MB / 0.9981 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=400 --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