Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009316/0.0009316, 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.001522/0.001522, 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.9106/0.9106, allocations: 177.2 MB / 203.5 MB, free: 5.723 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.754/1.754, allocations: 377.9 MB / 0.6229 GB, free: 8.648 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.07e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001237/0.001258, allocations: 0.7906 MB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.339e-05/0.001351, allocations: 43.78 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.001395, allocations: 4 kB / 0.983 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.001428, allocations: 7.875 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.001495, allocations: 11.86 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.721e-05/0.001532, allocations: 23.98 kB / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.001623, allocations: 55.84 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.001736, allocations: 27.97 kB / 0.9831 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.001797, allocations: 39.84 kB / 0.9832 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.001849, allocations: 23.89 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.001872, allocations: 8 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-06/0.001878, allocations: 4 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.001896, allocations: 15.94 kB / 0.9832 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.001925, allocations: 19.91 kB / 0.9833 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.781e-05/0.002023, allocations: 79.58 kB / 0.9833 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002025, allocations: 0 / 0.9833 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002026, allocations: 4 kB / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002029, allocations: 0 / 0.9833 GB, free: 0.9219 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.0003338/0.002363, allocations: 310 kB / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.002398, allocations: 12.03 kB / 0.9836 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.00243, allocations: 16.84 kB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.002573, allocations: 129.6 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.002584, allocations: 4.375 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.002595, allocations: 8.375 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.002715, allocations: 91.95 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.002723, allocations: 192 / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.002732, allocations: 4.375 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.002738, allocations: 8.359 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.002799, allocations: 43.86 kB / 0.9839 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.003153, allocations: 344.6 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.003204, allocations: 45.23 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.003229, allocations: 17.72 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.003236, allocations: 4 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.003258, allocations: 34.56 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.003259, allocations: 4 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/0.003393, allocations: 53.58 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.003429, allocations: 77.11 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.00352, allocations: 131.4 kB / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.003534, allocations: 29.7 kB / 0.9846 GB, free: 15.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.003588, allocations: 111.9 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.003599, allocations: 7.938 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.003625, allocations: 21.67 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.003702, allocations: 310.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.003717, allocations: 8.25 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.003736, allocations: 33.64 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.003766, allocations: 21.72 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003768, allocations: 0 / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.382e-05/0.003822, allocations: 53.62 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.003832, allocations: 4 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.003836, allocations: 0 / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.003849, allocations: 4 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.003895, allocations: 8 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.0039, allocations: 8 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.003915, allocations: 4 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.003919, allocations: 3.938 kB / 0.9852 GB, free: 14.78 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 5.38e-05/0.003973, allocations: 113.8 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.003992, allocations: 7.953 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.004006, allocations: 7.453 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004008, allocations: 0 / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.004012, allocations: 4 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.004017, allocations: 3.938 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.004252, allocations: 422.4 kB / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004252, allocations: 0 / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-06/0.004261, allocations: 0 / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004262, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.004268, allocations: 7.875 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004269, allocations: 0 / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00427, allocations: 4.031 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.101e-05/0.004321, allocations: 77.97 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.004336, allocations: 11.95 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.004345, allocations: 3.938 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.004354, allocations: 8.094 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.004366, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.004367, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.004409, allocations: 103.3 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004409, allocations: 4 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001287/0.004537, allocations: 11.94 kB / 0.986 GB, free: 13.93 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.428e-05/0.004612, allocations: 99.72 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.004677, allocations: 16 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004678, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-06/0.004686, allocations: 12.06 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.004788, allocations: 4 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.005058, allocations: 192.2 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.005111, allocations: 71.33 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.005136, allocations: 12.5 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.005137, allocations: 0 / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of Templates: time 0.001797/0.006934, allocations: 0.8092 MB / 0.9872 GB, free: 12.64 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.453826015815139]