Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_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.01233/0.01233, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.002576/0.002576, allocations: 190.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.756/2.756, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.267/5.267, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003238/0.003239, allocations: 71.88 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801/1.804, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003131/1.807, allocations: 0.8543 MB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001859/1.809, allocations: 0.9114 MB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/1.809, allocations: 0 / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/1.809, allocations: 11.86 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/1.81, allocations: 15.81 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/1.81, allocations: 63.84 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002885/1.81, allocations: 127.7 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/1.811, allocations: 45.11 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/1.811, allocations: 51.84 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/1.811, allocations: 83.66 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/1.811, allocations: 12 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.485e-05/1.811, allocations: 15.94 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/1.811, allocations: 31.89 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/1.811, allocations: 59.66 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/1.812, allocations: 143.1 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.812, allocations: 0 / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/1.812, allocations: 0 / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.074e-06/1.812, allocations: 0 / 1.169 GB, free: 1.344 MB / 0.8887 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.001266/1.813, allocations: 450.9 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001051/1.813, allocations: 12.92 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.647e-05/1.813, allocations: 42.67 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/1.813, allocations: 16.84 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/1.814, allocations: 210.4 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/1.814, allocations: 11.94 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/1.814, allocations: 4 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/1.814, allocations: 157.5 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/1.814, allocations: 0 / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/1.814, allocations: 3.938 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/1.814, allocations: 4 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/1.815, allocations: 155.8 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.817, allocations: 416.4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/1.818, allocations: 174.6 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/1.819, allocations: 84.86 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/1.819, allocations: 3.984 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/1.819, allocations: 42.5 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 3.156e-06/1.819, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.001727/1.821, allocations: 277.5 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/1.821, allocations: 51.41 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/1.821, allocations: 155.5 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/1.821, allocations: 33.7 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/1.821, allocations: 100.5 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/1.821, allocations: 31.73 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/1.821, allocations: 29.7 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002975/1.822, allocations: 322.8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/1.822, allocations: 79.86 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/1.822, allocations: 71.92 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/1.823, allocations: 156.7 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.823, allocations: 8 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008513/1.824, allocations: 201.4 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.824, allocations: 4 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.824, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.824, allocations: 3.984 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/1.825, allocations: 39.95 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.825, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/1.825, allocations: 27.92 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/1.825, allocations: 7.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 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 0.0002112/1.825, allocations: 117.8 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/1.825, allocations: 15.88 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/1.825, allocations: 16.72 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.825, allocations: 4 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.825, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.825, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/1.826, allocations: 241.5 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.826, allocations: 7.938 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/1.826, allocations: 39.89 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.826, allocations: 288 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.826, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.826, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.826, allocations: 11.94 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/1.827, allocations: 299.2 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/1.827, allocations: 89 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/1.827, allocations: 11.98 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.827, allocations: 15.98 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.828, allocations: 31.95 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.828, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001613/1.828, allocations: 117.5 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.81e-07/1.828, allocations: 0 / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003791/1.828, allocations: 23.95 kB / 1.173 GB, free: 12.67 MB / 0.9044 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.001452/1.83, allocations: 0.8411 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008359/1.83, allocations: 171.8 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.83, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/1.831, allocations: 99.84 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/1.831, allocations: 16.56 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/1.836, allocations: 1.846 MB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/1.836, allocations: 0.708 MB / 1.176 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001897/1.836, allocations: 28.41 kB / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/1.836, allocations: 47.34 kB / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of SimCode: time 1.363e-06/1.836, allocations: 0 / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08008/1.916, allocations: 3.808 MB / 1.18 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.53, allocations: 6.281 kB / 1.18 GB, free: 5.078 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches