Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.008841/0.008841, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001917/0.001917, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.918/1.918, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.233/3.233, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 65.19 kB / 0.9505 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2325, allocations: 140.4 MB / 1.088 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001891/0.2344, allocations: 0.8852 MB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.2354, allocations: 0.8702 MB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.2355, allocations: 11.94 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.2356, allocations: 15.8 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.2357, allocations: 23.78 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.2358, allocations: 43.94 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.236, allocations: 131.7 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.2362, allocations: 57.33 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.2363, allocations: 59.66 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2364, allocations: 87.66 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.2365, allocations: 12 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.2365, allocations: 12 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.2366, allocations: 47.83 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.2367, allocations: 67.53 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2368, allocations: 170.2 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2369, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2369, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2369, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008972/0.2378, allocations: 0.4995 MB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2378, allocations: 16.02 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.2379, allocations: 38.75 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.2379, allocations: 16.75 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.2381, allocations: 227.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2382, allocations: 8.375 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2382, allocations: 4.375 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.2387, allocations: 182.1 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2387, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2388, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2388, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.2395, allocations: 219.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009378/0.2405, allocations: 0.5119 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.2409, allocations: 146.5 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.2413, allocations: 120.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2413, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2414, allocations: 30.56 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2414, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001184/0.2426, allocations: 369.3 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2426, allocations: 55.34 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2428, allocations: 175.6 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2428, allocations: 33.64 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.2429, allocations: 124 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2429, allocations: 31.55 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.243, allocations: 21.7 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2431, allocations: 322.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.2434, allocations: 104.3 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.2438, allocations: 107.8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.2445, allocations: 212.6 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2445, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007697/0.2453, allocations: 269.2 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2453, allocations: 5.719 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2453, allocations: 8 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2453, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.2456, allocations: 47.88 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2456, allocations: 3.938 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2458, allocations: 39.89 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2458, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 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 (9): * Single equations (assignments): 9 * 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 0.0001004/0.2459, allocations: 133.8 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.246, allocations: 15.81 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.246, allocations: 17.41 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.246, allocations: 3.984 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.246, allocations: 3.938 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2461, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2463, allocations: 245.6 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2463, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.2465, allocations: 47.94 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2466, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2466, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2466, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2466, allocations: 3.938 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.2474, allocations: 359.3 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.2474, allocations: 88.92 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2475, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2477, allocations: 35.94 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.2478, allocations: 23.86 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2478, allocations: 7.938 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.461e-05/0.2479, allocations: 132.3 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2479, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000235/0.2481, allocations: 31.94 kB / 1.095 GB, free: 10.05 MB / 0.8575 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 (9): * Single equations (assignments): 9 * 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.001101/0.2492, allocations: 0.8878 MB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007716/0.25, allocations: 223.7 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.25, allocations: 4 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.2504, allocations: 111.9 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2507, allocations: 37.61 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.254, allocations: 2.148 MB / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2542, allocations: 0.7241 MB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.198e-05/0.2543, allocations: 20.42 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.2544, allocations: 43.42 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.2544, allocations: 0 / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.128/3.383, allocations: 3.656 MB / 1.103 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/17.96, allocations: 8.047 kB / 1.103 GB, free: 2.184 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches