Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001996/0.001996, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.003155/0.003155, allocations: 168.5 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.191 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.882/2.882, allocations: 377.8 MB / 0.6221 GB, free: 12.62 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.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.588e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00181/0.001836, allocations: 0.7947 MB / 0.9822 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.001953, allocations: 39.78 kB / 0.9822 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.002005, allocations: 0 / 0.9822 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.002044, allocations: 7.875 kB / 0.9823 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.002122, allocations: 19.81 kB / 0.9823 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.011e-05/0.002172, allocations: 19.97 kB / 0.9823 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.002292, allocations: 59.83 kB / 0.9824 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.002419, allocations: 27.98 kB / 0.9824 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.002519, allocations: 47.77 kB / 0.9824 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.00256, allocations: 19.92 kB / 0.9824 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.002588, allocations: 8 kB / 0.9825 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.002597, allocations: 4 kB / 0.9825 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.002623, allocations: 15.92 kB / 0.9825 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.002658, allocations: 19.92 kB / 0.9825 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.002777, allocations: 75.69 kB / 0.9826 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002779, allocations: 0 / 0.9826 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002779, allocations: 0 / 0.9826 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.002786, allocations: 0 / 0.9826 GB, free: 9.762 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004197/0.003206, allocations: 306 kB / 0.9829 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003239, allocations: 8.031 kB / 0.9829 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.003272, allocations: 16.89 kB / 0.9829 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.003466, allocations: 141.5 kB / 0.983 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.003481, allocations: 8.375 kB / 0.983 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.003499, allocations: 4.375 kB / 0.983 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.00367, allocations: 106.1 kB / 0.9831 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003679, allocations: 192 / 0.9831 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.003693, allocations: 4.375 kB / 0.9831 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.0037, allocations: 4.375 kB / 0.9831 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.003776, allocations: 39.86 kB / 0.9832 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.004273, allocations: 364.4 kB / 0.9835 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.004336, allocations: 33.22 kB / 0.9836 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.004379, allocations: 21.77 kB / 0.9836 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.00439, allocations: 0 / 0.9836 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.004418, allocations: 38.59 kB / 0.9836 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004419, allocations: 0 / 0.9836 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.004595, allocations: 45.64 kB / 0.9837 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.004651, allocations: 77.11 kB / 0.9837 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.004779, allocations: 138 kB / 0.9839 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.004794, allocations: 29.7 kB / 0.9839 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.004868, allocations: 108 kB / 0.984 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/0.004879, allocations: 7.953 kB / 0.984 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.004914, allocations: 17.7 kB / 0.984 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.005061, allocations: 314.8 kB / 0.9843 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.005078, allocations: 4 kB / 0.9843 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.005107, allocations: 21.7 kB / 0.9843 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.005152, allocations: 29.66 kB / 0.9844 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005153, allocations: 0 / 0.9844 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.43e-05/0.005238, allocations: 57.66 kB / 0.9844 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.005252, allocations: 7.938 kB / 0.9844 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.005259, allocations: 3.984 kB / 0.9844 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.005273, allocations: 4 kB / 0.9844 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.005337, allocations: 7.938 kB / 0.9844 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.005343, allocations: 3.938 kB / 0.9844 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.005368, allocations: 0 / 0.9844 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005372, allocations: 4 kB / 0.9845 GB, free: 7.613 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 8.696e-05/0.005459, allocations: 113.8 kB / 0.9846 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.0055, allocations: 8.016 kB / 0.9846 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.005525, allocations: 15.45 kB / 0.9846 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005527, allocations: 0 / 0.9846 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005531, allocations: 0 / 0.9846 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.005537, allocations: 7.938 kB / 0.9846 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.005913, allocations: 406.4 kB / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.005921, allocations: 7.984 kB / 0.985 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.005938, allocations: 0 / 0.985 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.005942, allocations: 7.938 kB / 0.985 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.00595, allocations: 3.938 kB / 0.985 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005951, allocations: 4.062 kB / 0.985 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005952, allocations: 0 / 0.985 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.00604, allocations: 73.89 kB / 0.9851 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.006063, allocations: 11.94 kB / 0.9851 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.006077, allocations: 3.938 kB / 0.9851 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.006097, allocations: 4 kB / 0.9851 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.006115, allocations: 8 kB / 0.9851 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.006117, allocations: 0 / 0.9851 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.461e-05/0.006192, allocations: 97.39 kB / 0.9852 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006192, allocations: 0 / 0.9852 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002017/0.006393, allocations: 12.03 kB / 0.9852 GB, free: 6.77 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001238/0.006517, allocations: 103.8 kB / 0.9853 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.006597, allocations: 11.94 kB / 0.9853 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.006603, allocations: 8 kB / 0.9853 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.006611, allocations: 0 / 0.9853 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.006783, allocations: 4 kB / 0.9853 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.007123, allocations: 173.8 kB / 0.9855 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.565e-05/0.007198, allocations: 79.33 kB / 0.9856 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.007227, allocations: 8.078 kB / 0.9856 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.00725, allocations: 8.5 kB / 0.9856 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.007251, allocations: 3.938 kB / 0.9856 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of Templates: time 0.002826/0.01008, allocations: 341.5 kB / 0.9859 GB, free: 5.988 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.143641263246536]