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.004828/0.004828, allocations: 102.3 kB / 15.73 MB, free: 6.062 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.001255/0.001255, allocations: 192.3 kB / 16.68 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 482.4 MB / 0.7548 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 70.75 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3014, allocations: 162.2 MB / 1.242 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.001801/0.3033, allocations: 0.7061 MB / 1.242 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.3042, allocations: 0.8004 MB / 1.243 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3042, allocations: 4 kB / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.3042, allocations: 3.938 kB / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.3043, allocations: 7.922 kB / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.3044, allocations: 7.984 kB / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.3045, allocations: 51.91 kB / 1.243 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.3046, allocations: 4 kB / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.3046, allocations: 23.86 kB / 1.243 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.3047, allocations: 19.92 kB / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3047, allocations: 0 / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.3047, allocations: 4 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3047, allocations: 15.92 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3048, allocations: 11.94 kB / 1.243 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.135e-05/0.3049, allocations: 48.06 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3049, allocations: 8 kB / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3049, allocations: 0 / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3049, allocations: 0 / 1.243 GB, free: 7.516 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.0005367/0.3054, allocations: 361.2 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3055, allocations: 8.031 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.3055, allocations: 38.69 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.3056, allocations: 12.83 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3057, allocations: 164.4 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3057, allocations: 8.375 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3057, allocations: 384 / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.306, allocations: 70.16 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.306, allocations: 7.938 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.306, allocations: 0 / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.306, allocations: 4 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.3063, allocations: 67.92 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.3067, allocations: 272.8 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3069, allocations: 54.48 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.3071, allocations: 44.91 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3071, allocations: 4 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3071, allocations: 30.56 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3072, allocations: 0 / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000553/0.3077, allocations: 129.6 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3078, allocations: 51.41 kB / 1.244 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.3079, allocations: 109.8 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3079, allocations: 29.7 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.3079, allocations: 84.14 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.308, allocations: 7.906 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.308, allocations: 17.72 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3081, allocations: 318.8 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3083, allocations: 31.97 kB / 1.245 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3085, allocations: 31.95 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.3088, allocations: 73 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3088, allocations: 4 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000339/0.3091, allocations: 97.61 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3091, allocations: 4 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3092, allocations: 3.938 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3092, allocations: 0 / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3093, allocations: 15.98 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3093, allocations: 4 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.3094, allocations: 15.98 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3094, allocations: 0 / 1.245 GB, free: 5.148 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.636e-05/0.3095, allocations: 110.3 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3095, allocations: 15.88 kB / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.3096, allocations: 7.906 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3096, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3096, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3096, allocations: 8 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3098, allocations: 177.5 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3098, allocations: 0 / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3099, allocations: 15.97 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3099, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3099, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3099, allocations: 4 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3099, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.3103, allocations: 199.4 kB / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3104, allocations: 81.06 kB / 1.246 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3104, allocations: 3.984 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3105, allocations: 15.98 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.3106, allocations: 4 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3106, allocations: 0 / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.3106, allocations: 91.27 kB / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3106, allocations: 0 / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002239/0.3109, allocations: 11.94 kB / 1.246 GB, free: 4.316 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.0007305/0.3116, allocations: 0.7357 MB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.312, allocations: 67.92 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.312, allocations: 0 / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3121, allocations: 35.97 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3124, allocations: 11.98 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.3128, allocations: 147.1 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3132, allocations: 0.6807 MB / 1.248 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.3132, allocations: 7.922 kB / 1.248 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.3132, allocations: 11.44 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.3133, allocations: 8 kB / 1.248 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.3348, allocations: 1.623 MB / 1.249 GB, free: 1 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.838, allocations: 20.58 kB / 1.249 GB, free: 0.9844 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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