Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.892/0.892, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.829e-05, allocations: 9.453 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001323/0.001351, allocations: 0.6902 MB / 0.9829 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.002129, allocations: 0.8548 MB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.002168, allocations: 4 kB / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.0022, allocations: 7.938 kB / 0.9837 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.002278, allocations: 3.984 kB / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.002428, allocations: 27.84 kB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.002507, allocations: 51.84 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.002616, allocations: 8 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.002693, allocations: 27.95 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.002746, allocations: 19.92 kB / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.002773, allocations: 4 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.002783, allocations: 4 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.002802, allocations: 7.984 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.002825, allocations: 19.92 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.00292, allocations: 51.91 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002922, allocations: 0 / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002923, allocations: 0 / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.002927, allocations: 0 / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004142/0.003342, allocations: 286.1 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.003381, allocations: 12.03 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.003415, allocations: 4.891 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.003527, allocations: 113.7 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.003544, allocations: 4.375 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.003554, allocations: 4.375 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.003701, allocations: 70.2 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.003709, allocations: 3.938 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.003724, allocations: 4 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.003729, allocations: 0 / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.003844, allocations: 51.89 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.004177, allocations: 224.5 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.004313, allocations: 74.47 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.004377, allocations: 32.91 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.004393, allocations: 0 / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.004417, allocations: 42.56 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004418, allocations: 0 / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002851/0.004703, allocations: 101.6 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.004733, allocations: 55.41 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.004802, allocations: 113.9 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.004814, allocations: 25.7 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.004864, allocations: 100 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.004884, allocations: 7.938 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.004913, allocations: 17.72 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.004991, allocations: 314.8 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.005048, allocations: 23.97 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.005096, allocations: 23.97 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.005198, allocations: 56.77 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.005202, allocations: 11.92 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.005333, allocations: 81.61 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005345, allocations: 4 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005351, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005364, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.005456, allocations: 15.98 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.005462, allocations: 320 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.005494, allocations: 11.98 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.0055, allocations: 4 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.13e-05/0.005562, allocations: 113.8 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.005575, allocations: 4 kB / 0.9859 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.005593, allocations: 7.984 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005595, allocations: 336 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.005601, allocations: 4 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005604, allocations: 3.938 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.005704, allocations: 121.2 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.005706, allocations: 7.875 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.005746, allocations: 19.97 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005747, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.005755, allocations: 4 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005755, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005757, allocations: 3.984 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.005911, allocations: 175.5 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.005921, allocations: 11.92 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005931, allocations: 0 / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.244e-05/0.005974, allocations: 8 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.006022, allocations: 11.98 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006027, allocations: 3.984 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.006059, allocations: 87.28 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006059, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001436/0.006203, allocations: 11.89 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.035e-05/0.006283, allocations: 103.7 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.006441, allocations: 59.94 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006442, allocations: 0 / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.006496, allocations: 27.97 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.006688, allocations: 11.94 kB / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.006958, allocations: 150.5 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.007005, allocations: 71.27 kB / 0.9867 GB, free: 13.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.007039, allocations: 12.5 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.00704, allocations: 0 / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of Templates: time 0.001544/0.008583, allocations: 0.8357 MB / 0.9876 GB, free: 12.29 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.660530271008611]