Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001504/0.001504, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.593/2.593, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 68.5 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2526, 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.MultiSum): time 0.002094/0.2547, allocations: 0.9401 MB / 1.053 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.2557, allocations: 0.8819 MB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.2558, allocations: 4 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.2559, allocations: 15.86 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.256, allocations: 23.8 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.2562, allocations: 35.97 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.2563, allocations: 127.6 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2565, allocations: 53.31 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.2566, allocations: 55.77 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2567, allocations: 75.73 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.2568, allocations: 12 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.2568, allocations: 8 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.2568, allocations: 43.83 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.2569, allocations: 59.59 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2571, allocations: 163.6 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2571, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2571, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.2571, allocations: 0 / 1.055 GB, free: 5.672 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008903/0.258, allocations: 0.4987 MB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.258, allocations: 15.91 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.2581, allocations: 42.73 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.2581, allocations: 16.75 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2583, allocations: 219.9 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2583, allocations: 12.38 kB / 1.055 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2584, allocations: 4.375 kB / 1.055 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.2589, allocations: 187.9 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2589, allocations: 3.938 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2589, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/0.2597, allocations: 227.7 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.2606, allocations: 0.5159 MB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.261, allocations: 146.5 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.2614, allocations: 120.7 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2614, allocations: 0 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2615, allocations: 42.69 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.2615, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001139/0.2626, allocations: 365.1 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2627, allocations: 55.34 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2628, allocations: 176.5 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2628, allocations: 25.7 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.2629, allocations: 127.9 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.2629, allocations: 27.56 kB / 1.057 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.263, allocations: 25.7 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.2631, allocations: 322.8 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.2635, allocations: 103.9 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2638, allocations: 99.89 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.2645, allocations: 220.6 kB / 1.058 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2645, allocations: 4 kB / 1.058 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007358/0.2652, allocations: 253.4 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2652, allocations: 4 kB / 1.058 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2652, allocations: 4 kB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2653, allocations: 0.6562 kB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.2655, allocations: 43.89 kB / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2655, allocations: 7.938 kB / 1.058 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.2657, allocations: 35.84 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2658, allocations: 8 kB / 1.058 GB, free: 1.535 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 (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.0001002/0.2659, allocations: 133.8 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.2659, allocations: 15.81 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.266, allocations: 25.33 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.266, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.266, allocations: 3.938 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.266, allocations: 0 / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.2662, allocations: 253.5 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2662, allocations: 0 / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2665, allocations: 51.89 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2665, allocations: 0 / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2665, allocations: 7.984 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2665, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2665, allocations: 3.938 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.2673, allocations: 359.1 kB / 1.059 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.2673, allocations: 85.02 kB / 1.059 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2674, allocations: 0 / 1.059 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2676, allocations: 31.95 kB / 1.059 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.2677, allocations: 19.91 kB / 1.059 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2677, allocations: 4 kB / 1.059 GB, free: 480 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.855e-05/0.2678, allocations: 139.2 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2678, allocations: 0 / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002397/0.268, allocations: 31.84 kB / 1.06 GB, free: 308 kB / 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 (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.001054/0.2691, allocations: 0.884 MB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007386/0.2698, allocations: 231.8 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2698, allocations: 0 / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.2702, allocations: 123.8 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2705, allocations: 23.92 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.2736, allocations: 2.16 MB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2739, allocations: 0.7278 MB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.084e-05/0.274, allocations: 20.42 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.2741, allocations: 39.42 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2741, allocations: 0 / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.2953, allocations: 3.165 MB / 1.067 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.2956, allocations: 206.9 kB / 1.067 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.024, allocations: 6.938 kB / 1.067 GB, free: 8.652 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches