Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001287/0.001287, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001347/0.001347, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9108/0.9108, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.381/2.381, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.154e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001351/0.001372, allocations: 0.7212 MB / 0.8905 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.002364, allocations: 0.8742 MB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.002411, allocations: 0 / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.002444, allocations: 3.938 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.002537, allocations: 3.938 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.002705, allocations: 27.91 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.002783, allocations: 47.86 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.002888, allocations: 19.91 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.00299, allocations: 23.98 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.003048, allocations: 19.91 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.00307, allocations: 4 kB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.00308, allocations: 4 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.003107, allocations: 15.98 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.003135, allocations: 15.92 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.003239, allocations: 31.89 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003241, allocations: 0 / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003242, allocations: 3.938 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.003247, allocations: 4 kB / 0.8915 GB, free: 7.922 MB / 0.8542 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.0003976/0.003644, allocations: 372.5 kB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.003693, allocations: 8.625 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.003725, allocations: 8.938 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.003819, allocations: 124.5 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.00384, allocations: 4.375 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.00385, allocations: 4.375 kB / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.003981, allocations: 62.94 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.003988, allocations: 3.938 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.003995, allocations: 4 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004, allocations: 4 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.004028, allocations: 11.98 kB / 0.8921 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.004283, allocations: 264.2 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.004354, allocations: 39.05 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.004377, allocations: 23.77 kB / 0.8924 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.004393, allocations: 4 kB / 0.8924 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.004415, allocations: 41.38 kB / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.004416, allocations: 4 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001332/0.004549, allocations: 49.62 kB / 0.8925 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.004578, allocations: 59.39 kB / 0.8926 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.004645, allocations: 165.9 kB / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.004657, allocations: 25.7 kB / 0.8928 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.004704, allocations: 134.8 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.004722, allocations: 7.953 kB / 0.8929 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.004752, allocations: 27.34 kB / 0.8929 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.004874, allocations: 496.1 kB / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.00489, allocations: 4 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.004905, allocations: 11.98 kB / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.004939, allocations: 19.97 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.004941, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.845e-05/0.005009, allocations: 61.5 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.00502, allocations: 4 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005024, allocations: 3.938 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.005034, allocations: 3.984 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.005105, allocations: 12 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.005107, allocations: 0 / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.005131, allocations: 4 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005136, allocations: 7.984 kB / 0.8935 GB, free: 5.684 MB / 0.8542 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.322e-05/0.005199, allocations: 156.6 kB / 0.8937 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.005214, allocations: 3.938 kB / 0.8937 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.005239, allocations: 12 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00524, allocations: 0 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005242, allocations: 0 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.005244, allocations: 0 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.99e-05/0.005344, allocations: 109.2 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005345, allocations: 0 / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.005375, allocations: 15.92 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005377, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.005383, allocations: 3.938 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.005383, allocations: 0 / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005384, allocations: 0 / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.005499, allocations: 203.9 kB / 0.894 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.005508, allocations: 7.938 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.005519, allocations: 7.938 kB / 0.894 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.005554, allocations: 4 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.005591, allocations: 11.98 kB / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005593, allocations: 0 / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.00563, allocations: 135.2 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005631, allocations: 0 / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001347/0.005765, allocations: 11.95 kB / 0.8942 GB, free: 4.945 MB / 0.8542 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 6.517e-05/0.00583, allocations: 99.19 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.005896, allocations: 27.67 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.005898, allocations: 0 / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.005924, allocations: 19.67 kB / 0.8943 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.006088, allocations: 11.92 kB / 0.8943 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.006298, allocations: 138.2 kB / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.006329, allocations: 59.34 kB / 0.8945 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.006352, allocations: 4.25 kB / 0.8945 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.006411, allocations: 78.14 kB / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.006411, allocations: 0 / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of Templates: time 0.002321/0.008732, allocations: 1.04 MB / 0.8956 GB, free: 3.422 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.213282400742173]