Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_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.0009407/0.0009409, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006129/0.006129, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003616, allocations: 16 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6001, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001034/0.6011, allocations: 0.5991 MB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.6021, allocations: 0.8702 MB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.6022, allocations: 4 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.6023, allocations: 7.875 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.6024, allocations: 23.86 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.6026, allocations: 31.95 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.6027, allocations: 135.6 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.6029, allocations: 49.33 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.603, allocations: 47.72 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.6031, allocations: 67.73 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.6031, allocations: 12 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.6031, allocations: 4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.6032, allocations: 35.84 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.6033, allocations: 85.3 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.6034, allocations: 161.6 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6034, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6034, allocations: 3.938 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6035, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 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.0008463/0.6043, allocations: 0.4988 MB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6044, allocations: 12.03 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.6044, allocations: 42.73 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.6045, allocations: 20.66 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.6046, allocations: 216 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.6047, allocations: 8.375 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6047, allocations: 8.375 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.6052, allocations: 206.1 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6052, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6053, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.6053, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.606, allocations: 277.2 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.607, allocations: 0.547 MB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.6074, allocations: 178.4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.6079, allocations: 140.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.6079, allocations: 7.938 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6079, allocations: 30.56 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.6079, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001258/0.6092, allocations: 441.3 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.6092, allocations: 59.34 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.6094, allocations: 183.2 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.6094, allocations: 33.7 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.6095, allocations: 119.9 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.6095, allocations: 31.55 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.6095, allocations: 17.72 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6097, allocations: 322.8 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.61, allocations: 131.9 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.6104, allocations: 136.2 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.6112, allocations: 264.6 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6112, allocations: 0 / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000827/0.612, allocations: 321.2 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.612, allocations: 4 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.612, allocations: 0 / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6121, allocations: 0 / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.6123, allocations: 63.94 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6124, allocations: 7.875 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.6126, allocations: 39.95 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.6126, allocations: 4 kB / 1.029 GB, free: 9.129 MB / 0.7794 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.0001/0.6127, allocations: 134.4 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.6127, allocations: 15.81 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.6128, allocations: 29.38 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6128, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6128, allocations: 3.938 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.6128, allocations: 0 / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.6131, allocations: 245.5 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6131, allocations: 0 / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.6133, allocations: 63.94 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6133, allocations: 4 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.6133, allocations: 4 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.6133, allocations: 0 / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6134, allocations: 7.875 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.6142, allocations: 415.3 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.6143, allocations: 92.86 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.6143, allocations: 7.984 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.6145, allocations: 47.95 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.6146, allocations: 19.86 kB / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.6146, allocations: 0 / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.309e-05/0.6147, allocations: 136.4 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6147, allocations: 0 / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002338/0.615, allocations: 20 kB / 1.031 GB, free: 7.82 MB / 0.7794 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.001128/0.6161, allocations: 0.9464 MB / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008038/0.6169, allocations: 279.7 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6169, allocations: 0 / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.6173, allocations: 143.9 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.6176, allocations: 32.42 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.621, allocations: 2.314 MB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.6212, allocations: 0.7238 MB / 1.035 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.6213, allocations: 20.42 kB / 1.035 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.6214, allocations: 39.42 kB / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6214, allocations: 0 / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.6338, allocations: 3.061 MB / 1.038 GB, free: 284 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.634, allocations: 206.9 kB / 1.038 GB, free: 20 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.337, allocations: 7.938 kB / 1.038 GB, free: 12 kB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches