Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.001556/0.001556, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 194 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.375 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 2.281/2.281, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.6888, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001775/0.6906, allocations: 0.8397 MB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007241/0.6914, allocations: 0.9013 MB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.6914, allocations: 1.375 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.179e-05/0.6915, allocations: 19.8 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.6916, allocations: 10.62 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.6918, allocations: 65.47 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.6919, allocations: 125.2 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.6921, allocations: 48.08 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.6922, allocations: 59.08 kB / 0.9518 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.6923, allocations: 79.69 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.6923, allocations: 11.03 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.6924, allocations: 12.59 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.6924, allocations: 30.16 kB / 0.9519 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.6925, allocations: 66.23 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.6926, allocations: 138.6 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6926, allocations: 0 / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6926, allocations: 0 / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6926, allocations: 0 / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006614/0.6933, allocations: 452.6 kB / 0.9525 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.6933, allocations: 10.34 kB / 0.9525 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.6934, allocations: 49.27 kB / 0.9526 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.6934, allocations: 10.16 kB / 0.9526 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.6935, allocations: 205.5 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6936, allocations: 12.25 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.6936, allocations: 9.75 kB / 0.9528 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.694, allocations: 144.1 kB / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.694, allocations: 0 / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.694, allocations: 5.031 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.694, allocations: 5.344 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.6945, allocations: 159.3 kB / 0.9531 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.695, allocations: 409 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.6959, allocations: 174 kB / 0.9536 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.6962, allocations: 87.22 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.6963, allocations: 1.188 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.6963, allocations: 32.22 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.6963, allocations: 0 / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009078/0.6972, allocations: 290.1 kB / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.6972, allocations: 56.38 kB / 0.9541 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.6973, allocations: 150.4 kB / 0.9542 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6974, allocations: 33.7 kB / 0.9543 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.6974, allocations: 104.8 kB / 0.9544 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.6975, allocations: 32.39 kB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.6975, allocations: 26.64 kB / 0.9544 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.6976, allocations: 321 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.6979, allocations: 74.67 kB / 0.9548 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.6981, allocations: 76.14 kB / 0.9549 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.6986, allocations: 157 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6986, allocations: 3.938 kB / 0.955 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005767/0.6992, allocations: 205.8 kB / 0.9552 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6992, allocations: 6.062 kB / 0.9552 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6992, allocations: 4 kB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6993, allocations: 1.156 kB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.6995, allocations: 42.73 kB / 0.9553 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6995, allocations: 1.312 kB / 0.9553 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.6997, allocations: 22.53 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.6997, allocations: 2.531 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.476e-05/0.6998, allocations: 125.5 kB / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.6998, allocations: 16.03 kB / 0.9554 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.6999, allocations: 15.22 kB / 0.9554 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6999, allocations: 6.156 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6999, allocations: 0 / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6999, allocations: 5.141 kB / 0.9555 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.7001, allocations: 235.6 kB / 0.9557 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7001, allocations: 1.438 kB / 0.9557 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.7004, allocations: 42.89 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7004, allocations: 1.344 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.7004, allocations: 9.172 kB / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7004, allocations: 0 / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7004, allocations: 1.188 kB / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.701, allocations: 297.5 kB / 0.956 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.701, allocations: 91.39 kB / 0.9561 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.701, allocations: 5.344 kB / 0.9561 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.7013, allocations: 22.97 kB / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.7013, allocations: 34.73 kB / 0.9562 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.7014, allocations: 9.953 kB / 0.9562 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.7014, allocations: 111.1 kB / 0.9563 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7014, allocations: 0 / 0.9563 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002362/0.7017, allocations: 22.38 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008375/0.7025, allocations: 0.8409 MB / 0.9571 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006014/0.7031, allocations: 174.3 kB / 0.9573 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7031, allocations: 384 / 0.9573 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.7034, allocations: 106.8 kB / 0.9574 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.7037, allocations: 18.73 kB / 0.9574 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.7063, allocations: 1.841 MB / 0.9592 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.7065, allocations: 0.7067 MB / 0.9599 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.7066, allocations: 21.2 kB / 0.9599 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.7067, allocations: 44.94 kB / 0.96 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7067, allocations: 0 / 0.96 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08783/0.7945, allocations: 3.767 MB / 0.9636 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/8.33, allocations: 2.719 kB / 0.9636 GB, free: 14.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches