Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001847/0.001847, allocations: 82.48 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002113/0.002113, allocations: 168.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.936/2.936, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.316e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001944/0.001977, allocations: 0.6594 MB / 0.9821 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003171, allocations: 0.8392 MB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.003213, allocations: 0 / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.003248, allocations: 3.984 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.003324, allocations: 11.94 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003516, allocations: 4 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.079e-05/0.003597, allocations: 23.92 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003701, allocations: 4 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.003783, allocations: 19.91 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.003827, allocations: 7.984 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.003846, allocations: 4 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.003898, allocations: 12 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.003913, allocations: 0 / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.003932, allocations: 4 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.004058, allocations: 35.81 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004061, allocations: 3.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004062, allocations: 3.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.004067, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004709/0.004538, allocations: 262.3 kB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.004581, allocations: 8.031 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.004698, allocations: 8.891 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.004817, allocations: 109.8 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004828, allocations: 384 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004839, allocations: 4.375 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.005021, allocations: 50.23 kB / 0.9835 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005029, allocations: 192 / 0.9835 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.005038, allocations: 384 / 0.9835 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.005042, allocations: 384 / 0.9835 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.005224, allocations: 43.88 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.005563, allocations: 192.5 kB / 0.9837 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.005707, allocations: 42.59 kB / 0.9838 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.005804, allocations: 20.91 kB / 0.9838 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.005824, allocations: 0 / 0.9838 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.00586, allocations: 38.56 kB / 0.9838 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.005861, allocations: 0 / 0.9838 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003821/0.006243, allocations: 89.61 kB / 0.9839 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.006298, allocations: 55.41 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.006416, allocations: 101.8 kB / 0.9841 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.006434, allocations: 25.7 kB / 0.9841 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.006489, allocations: 84.09 kB / 0.9842 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.006509, allocations: 4 kB / 0.9842 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.006543, allocations: 17.66 kB / 0.9842 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.006691, allocations: 314.8 kB / 0.9845 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.006784, allocations: 15.97 kB / 0.9845 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.006866, allocations: 20.02 kB / 0.9845 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.007043, allocations: 36.83 kB / 0.9846 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007045, allocations: 0 / 0.9846 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002201/0.007265, allocations: 73.55 kB / 0.9846 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.00728, allocations: 4 kB / 0.9847 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.007287, allocations: 4.031 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.0073, allocations: 4 kB / 0.9847 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.007391, allocations: 11.98 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007396, allocations: 0 / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.00745, allocations: 7.984 kB / 0.9847 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.007455, allocations: 0 / 0.9847 GB, free: 8.438 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.331e-05/0.007538, allocations: 113.8 kB / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.007562, allocations: 0 / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.0078, allocations: 76.84 kB / 0.9849 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.007805, allocations: 7.938 kB / 0.9849 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.007809, allocations: 0 / 0.9849 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007811, allocations: 0 / 0.9849 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.007948, allocations: 105.3 kB / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007949, allocations: 0 / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.008009, allocations: 7.984 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.008013, allocations: 4 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.008021, allocations: 0 / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.008024, allocations: 3.938 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008025, allocations: 4.031 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.008292, allocations: 163.5 kB / 0.9851 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.0083, allocations: 3.953 kB / 0.9851 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008315, allocations: 4 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.008399, allocations: 11.92 kB / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.008434, allocations: 3.938 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.008437, allocations: 0 / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.008486, allocations: 83.28 kB / 0.9852 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.008486, allocations: 32 / 0.9852 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00022/0.008706, allocations: 8 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001294/0.008836, allocations: 99.17 kB / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.009056, allocations: 35.97 kB / 0.9854 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009058, allocations: 0 / 0.9854 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.009147, allocations: 15.98 kB / 0.9854 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.009463, allocations: 12.11 kB / 0.9854 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.009828, allocations: 108.7 kB / 0.9855 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.009892, allocations: 55.36 kB / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.009914, allocations: 0 / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.009947, allocations: 12.5 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.009948, allocations: 0 / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.003027/0.01297, allocations: 471.5 kB / 0.986 GB, free: 6.949 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 8.340807478874922]