Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.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.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",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.005351/0.005356, allocations: 102.7 kB / 15.74 MB, free: 6.004 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.001342/0.001342, allocations: 193.8 kB / 16.67 MB, free: 5.922 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: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.586/2.586, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 67.42 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3034, allocations: 162.3 MB / 1.242 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.001683/0.3052, allocations: 0.7164 MB / 1.243 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.306, allocations: 0.8004 MB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.306, allocations: 0 / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.3061, allocations: 3.938 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.3061, allocations: 3.938 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.644e-05/0.3062, allocations: 11.98 kB / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.3062, allocations: 43.91 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.138e-05/0.3063, allocations: 12 kB / 1.243 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.3064, allocations: 23.84 kB / 1.243 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.3065, allocations: 27.91 kB / 1.244 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3065, allocations: 4 kB / 1.244 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.3065, allocations: 4 kB / 1.244 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3065, allocations: 7.938 kB / 1.244 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3065, allocations: 15.92 kB / 1.244 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.3066, allocations: 40.09 kB / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3066, allocations: 0 / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3066, allocations: 4 kB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.3066, allocations: 0 / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004724/0.3071, allocations: 363.3 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3072, allocations: 8.031 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.3072, allocations: 34.73 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.598e-05/0.3072, allocations: 8.875 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3074, allocations: 168.3 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3074, allocations: 4.375 kB / 1.244 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.3074, allocations: 384 / 1.244 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3076, allocations: 74.16 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3076, allocations: 3.938 kB / 1.244 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.3076, allocations: 3.938 kB / 1.244 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.3076, allocations: 0 / 1.244 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.3079, allocations: 67.92 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3083, allocations: 272.8 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3085, allocations: 62.47 kB / 1.245 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3086, allocations: 40.92 kB / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3086, allocations: 0 / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3087, allocations: 34.55 kB / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3087, allocations: 0 / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005161/0.3092, allocations: 133.5 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3092, allocations: 51.41 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.3093, allocations: 117.8 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3094, allocations: 25.7 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.3094, allocations: 80.14 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3094, allocations: 15.91 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.3095, allocations: 13.7 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3096, allocations: 318.8 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3097, allocations: 31.97 kB / 1.245 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3099, allocations: 31.95 kB / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3102, allocations: 72.72 kB / 1.246 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3102, allocations: 4 kB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003145/0.3105, allocations: 93.62 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3105, allocations: 4 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.3105, allocations: 3.938 kB / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.3105, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3107, allocations: 15.98 kB / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.3107, allocations: 0 / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.3107, allocations: 19.97 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3108, allocations: 0 / 1.246 GB, free: 4.793 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.082e-05/0.3108, allocations: 117.8 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3109, allocations: 7.891 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.3109, allocations: 3.906 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3109, allocations: 4 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3109, allocations: 0 / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3109, allocations: 4 kB / 1.246 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3111, allocations: 177.6 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3111, allocations: 0 / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.3112, allocations: 11.98 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3112, allocations: 0 / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3112, allocations: 4 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3112, allocations: 0 / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3112, allocations: 0 / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.3116, allocations: 207.3 kB / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3117, allocations: 81.06 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3117, allocations: 4 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3118, allocations: 7.984 kB / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.3118, allocations: 8 kB / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3118, allocations: 0 / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.3119, allocations: 91.27 kB / 1.246 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 0 / 1.246 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002076/0.3121, allocations: 11.94 kB / 1.246 GB, free: 3.969 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0006761/0.3128, allocations: 0.7327 MB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3131, allocations: 71.95 kB / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3131, allocations: 0 / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3133, allocations: 31.97 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3135, allocations: 13.86 kB / 1.247 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3139, allocations: 155 kB / 1.247 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3142, allocations: 0.6807 MB / 1.248 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.3142, allocations: 3.938 kB / 1.248 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.3142, allocations: 15.44 kB / 1.248 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3143, allocations: 0 / 1.248 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7226/1.037, allocations: 1.629 MB / 1.25 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.73, allocations: 21.38 kB / 1.25 GB, free: 0.6328 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches