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.001225/0.001225, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001725/0.001725, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9565/0.9565, allocations: 177.1 MB / 203.4 MB, free: 5.59 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.015/2.015, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 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 1.533e-06/1.533e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.601e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00139/0.001406, allocations: 0.73 MB / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.005289, allocations: 0.8807 MB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.005326, allocations: 0.5 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.005356, allocations: 5.781 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.005433, allocations: 9.562 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.00557, allocations: 20.47 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.005653, allocations: 52.27 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.005743, allocations: 8 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.005823, allocations: 25.2 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.005876, allocations: 27.89 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.005901, allocations: 4 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.00591, allocations: 5.094 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.00593, allocations: 11.92 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.005952, allocations: 11.94 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.216e-05/0.006044, allocations: 40.53 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006046, allocations: 0.7188 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.006047, allocations: 0 / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.006051, allocations: 3.781 kB / 0.88 GB, free: 4.484 MB / 0.8386 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.0003783/0.006429, allocations: 372.5 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.006464, allocations: 12.03 kB / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.006502, allocations: 4.938 kB / 0.8803 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.257e-05/0.006595, allocations: 116.6 kB / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.006613, allocations: 384 / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.006624, allocations: 8.312 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.006758, allocations: 70.86 kB / 0.8805 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.006767, allocations: 3.938 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.006776, allocations: 1.5 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.006784, allocations: 0 / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.006832, allocations: 19.98 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.007149, allocations: 271.7 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.007249, allocations: 56.52 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.007288, allocations: 19.72 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.0073, allocations: 2.719 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.007324, allocations: 41.42 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.007325, allocations: 0 / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.007499, allocations: 57.64 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.007527, allocations: 59.34 kB / 0.881 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.007604, allocations: 165.9 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.007615, allocations: 25.7 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.007662, allocations: 140.7 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.007679, allocations: 7.906 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.007715, allocations: 23.38 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007825, allocations: 0.4884 MB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.007847, allocations: 4 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.007866, allocations: 4.875 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.01092, allocations: 29.41 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01092, allocations: 3.938 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.021e-05/0.01101, allocations: 57.62 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01103, allocations: 8 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.01103, allocations: 0.6562 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01104, allocations: 0 / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.01112, allocations: 12.86 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01113, allocations: 0 / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.01116, allocations: 11.95 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.01117, allocations: 320 / 0.882 GB, free: 2.219 MB / 0.8386 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.67e-05/0.01123, allocations: 160.5 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01126, allocations: 11.94 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.01128, allocations: 8 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01128, allocations: 4 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01129, allocations: 0 / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01129, allocations: 0 / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.01141, allocations: 120.6 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01141, allocations: 3.938 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.01145, allocations: 19.98 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.01145, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.01146, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01146, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01146, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01158, allocations: 207.8 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.01159, allocations: 7.875 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.0116, allocations: 4 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.01166, allocations: 0 / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.0117, allocations: 11.98 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01171, allocations: 11.98 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.01175, allocations: 131.2 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01175, allocations: 0 / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002179/0.01197, allocations: 4 kB / 0.8827 GB, free: 1.461 MB / 0.8386 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.971e-05/0.01204, allocations: 102 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.751e-05/0.01213, allocations: 31.59 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01214, allocations: 4 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.01217, allocations: 19.69 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01241, allocations: 16.61 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.01268, allocations: 126.4 kB / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.01272, allocations: 59.34 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.01275, allocations: 4.281 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.01279, allocations: 12.5 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.0128, allocations: 4 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.005743/0.01854, allocations: 1.021 MB / 0.884 GB, free: 16 kB / 0.8386 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.2001261110417545]