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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00157/0.00157, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004092, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8803/0.8808, allocations: 142.4 MB / 0.9545 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001244/0.8821, allocations: 0.537 MB / 0.955 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.8833, allocations: 0.8881 MB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.8834, allocations: 2.406 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.8835, allocations: 7.922 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.8837, allocations: 14.34 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.8839, allocations: 45.72 kB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.8841, allocations: 113 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.8843, allocations: 28.14 kB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.8843, allocations: 54.19 kB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.8845, allocations: 65.2 kB / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.8845, allocations: 10.47 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.8846, allocations: 4.688 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.8846, allocations: 21.09 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.8847, allocations: 42.77 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.8848, allocations: 92.77 kB / 0.9563 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.8848, allocations: 1.031 kB / 0.9563 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8848, allocations: 3.938 kB / 0.9563 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8848, allocations: 0 / 0.9563 GB, free: 6.164 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.0008656/0.8857, allocations: 448.8 kB / 0.9568 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.8858, allocations: 9.062 kB / 0.9568 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.8858, allocations: 9.375 kB / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.886, allocations: 203.1 kB / 0.957 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.8861, allocations: 8.281 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.8861, allocations: 9.469 kB / 0.957 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.8865, allocations: 171.8 kB / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.8865, allocations: 3.938 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.8866, allocations: 5.188 kB / 0.9572 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.8866, allocations: 2.094 kB / 0.9572 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.8871, allocations: 183.6 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.8878, allocations: 422.3 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/0.8886, allocations: 191.2 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.8889, allocations: 106.2 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.8889, allocations: 9.625 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.889, allocations: 30.56 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.889, allocations: 0 / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009712/0.89, allocations: 329 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.89, allocations: 52.78 kB / 0.9584 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.8901, allocations: 150.7 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.8902, allocations: 27.08 kB / 0.9586 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.8902, allocations: 108.1 kB / 0.9587 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.8903, allocations: 31.67 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.8903, allocations: 1.375 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.8904, allocations: 329.5 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.8906, allocations: 88.17 kB / 0.9591 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.8909, allocations: 90.05 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.8911, allocations: 94 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8911, allocations: 1.781 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000575/0.8917, allocations: 238 kB / 0.9595 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8918, allocations: 8.516 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8918, allocations: 5.031 kB / 0.9595 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8918, allocations: 1.219 kB / 0.9595 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.892, allocations: 46.86 kB / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.8921, allocations: 0 / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.8922, allocations: 38.88 kB / 0.9596 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.8922, allocations: 1.969 kB / 0.9596 GB, free: 3.605 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.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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.8924, allocations: 125.4 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.8924, allocations: 8.812 kB / 0.9598 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.8924, allocations: 18.52 kB / 0.9598 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.8925, allocations: 6.25 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8925, allocations: 0 / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8925, allocations: 0 / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.8927, allocations: 232.8 kB / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8927, allocations: 0 / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.893, allocations: 47.14 kB / 0.96 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.893, allocations: 1.062 kB / 0.96 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.893, allocations: 9.094 kB / 0.9601 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.893, allocations: 5.109 kB / 0.9601 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.893, allocations: 3.984 kB / 0.9601 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.8937, allocations: 323.5 kB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.8937, allocations: 99.59 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.8938, allocations: 5.375 kB / 0.9605 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.8939, allocations: 25.84 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8941, allocations: 37.53 kB / 0.9605 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.8941, allocations: 2.75 kB / 0.9605 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.26e-05/0.8942, allocations: 110.4 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8942, allocations: 4 kB / 0.9606 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002601/0.8944, allocations: 22.88 kB / 0.9607 GB, free: 2.719 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.8946, allocations: 101.7 kB / 0.9608 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.8952, allocations: 207.9 kB / 0.961 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8952, allocations: 4 kB / 0.961 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.8956, allocations: 117.2 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.8959, allocations: 18.64 kB / 0.9611 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.8965, allocations: 269.2 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.8966, allocations: 0.7024 MB / 0.962 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000118/0.8968, allocations: 21.33 kB / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.8969, allocations: 18.36 kB / 0.9621 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8969, allocations: 4 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of Templates: time 0.005037/0.9019, allocations: 1.987 MB / 0.964 GB, free: 0.5273 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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