Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0009122/0.0009122, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008522/0.0008522, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.923/0.923, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.743/1.743, allocations: 377.9 MB / 0.6229 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.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.601e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00146/0.001486, allocations: 0.7935 MB / 0.983 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001025/0.001589, allocations: 43.78 kB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.001636, allocations: 0 / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.001673, allocations: 11.86 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.001748, allocations: 7.875 kB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.891e-05/0.001787, allocations: 19.98 kB / 0.9831 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.001881, allocations: 63.83 kB / 0.9831 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.001999, allocations: 31.98 kB / 0.9832 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.00208, allocations: 39.89 kB / 0.9832 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.00212, allocations: 23.84 kB / 0.9832 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.002143, allocations: 4 kB / 0.9832 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.002151, allocations: 11.94 kB / 0.9832 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.002167, allocations: 7.938 kB / 0.9832 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.002193, allocations: 23.91 kB / 0.9833 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002297, allocations: 83.62 kB / 0.9833 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002299, allocations: 0 / 0.9833 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.92e-07/0.0023, allocations: 0 / 0.9833 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002303, allocations: 4 kB / 0.9833 GB, free: 0.957 MB / 0.9323 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.0003343/0.002638, allocations: 302 kB / 0.9836 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.002672, allocations: 8.031 kB / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.002704, allocations: 12.84 kB / 0.9837 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.002856, allocations: 137.6 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.002869, allocations: 8.375 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.002879, allocations: 4.375 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.003005, allocations: 95.94 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.003014, allocations: 192 / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.003023, allocations: 384 / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.003029, allocations: 8.375 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.003088, allocations: 39.86 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.003465, allocations: 356.4 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.003513, allocations: 41.34 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.00354, allocations: 17.78 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.003546, allocations: 0 / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.003567, allocations: 34.56 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.003567, allocations: 3.938 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.003707, allocations: 57.58 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.003743, allocations: 77.11 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.003826, allocations: 140.3 kB / 0.9846 GB, free: 15.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.003835, allocations: 29.64 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.003886, allocations: 104 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.003894, allocations: 11.95 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.003921, allocations: 17.67 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.003994, allocations: 318.8 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.004006, allocations: 4 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.004022, allocations: 17.97 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.004055, allocations: 29.72 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.004057, allocations: 0 / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.527e-05/0.004112, allocations: 57.62 kB / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.004125, allocations: 4 kB / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00413, allocations: 0 / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.004143, allocations: 96 / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.004196, allocations: 8 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.004202, allocations: 3.938 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.004217, allocations: 8.047 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.004222, allocations: 7.938 kB / 0.9852 GB, free: 14.82 MB / 0.948 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 6.173e-05/0.004284, allocations: 121.8 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.004304, allocations: 3.953 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.004322, allocations: 11.47 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004323, allocations: 0 / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.004327, allocations: 0 / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.004331, allocations: 3.938 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.004576, allocations: 418.4 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004577, allocations: 4.062 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-06/0.004587, allocations: 4 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.004588, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.004597, allocations: 7.938 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.004598, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004599, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.359e-05/0.004653, allocations: 69.98 kB / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.00467, allocations: 11.95 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.004682, allocations: 7.875 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-06/0.00469, allocations: 0 / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.004706, allocations: 11.95 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.004708, allocations: 4 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.004751, allocations: 103.3 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004751, allocations: 0 / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001312/0.004882, allocations: 11.95 kB / 0.986 GB, free: 13.97 MB / 0.948 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 7.915e-05/0.004961, allocations: 95.78 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.005032, allocations: 12 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.005033, allocations: 0 / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.005042, allocations: 16.11 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.005161, allocations: 8.062 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.005416, allocations: 188.3 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.005466, allocations: 79.31 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.005491, allocations: 12.5 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.005492, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of Templates: time 0.001439/0.006931, allocations: 0.8013 MB / 0.9872 GB, free: 12.69 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.404094794765115]