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.001999/0.001999, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002183/0.002183, allocations: 163.7 kB / 22.46 MB, free: 5.375 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.525/1.525, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.986/2.986, allocations: 377.8 MB / 0.6221 GB, free: 12.57 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_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.954e-06/1.954e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.265e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002067/0.0021, allocations: 0.797 MB / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.002231, allocations: 43.84 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.002286, allocations: 0 / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.002328, allocations: 7.875 kB / 0.9823 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.002419, allocations: 11.86 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.854e-05/0.002468, allocations: 19.92 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.002597, allocations: 67.78 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.002747, allocations: 35.91 kB / 0.9824 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.002854, allocations: 35.91 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.002908, allocations: 23.89 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.002932, allocations: 4 kB / 0.9825 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.002945, allocations: 8 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.002966, allocations: 11.94 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.00301, allocations: 23.91 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.003146, allocations: 71.7 kB / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.00315, allocations: 0 / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003151, allocations: 0 / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.003156, allocations: 3.938 kB / 0.9826 GB, free: 10.79 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005097/0.003665, allocations: 310 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.003708, allocations: 8.031 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.003763, allocations: 12.84 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.003977, allocations: 133.7 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.003992, allocations: 4.375 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.004013, allocations: 8.375 kB / 0.983 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.004191, allocations: 95.89 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004201, allocations: 192 / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.004216, allocations: 4.359 kB / 0.9831 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.004225, allocations: 8.359 kB / 0.9831 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.004307, allocations: 39.92 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.004835, allocations: 360.4 kB / 0.9835 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.004909, allocations: 37.22 kB / 0.9835 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.004947, allocations: 13.88 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.004958, allocations: 3.938 kB / 0.9836 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.004986, allocations: 38.56 kB / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004988, allocations: 0 / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001913/0.005179, allocations: 57.58 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.005237, allocations: 77.11 kB / 0.9837 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.005372, allocations: 130.8 kB / 0.9839 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.005389, allocations: 25.7 kB / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.005477, allocations: 111.9 kB / 0.984 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.005487, allocations: 7.984 kB / 0.984 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.005527, allocations: 21.67 kB / 0.984 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.005668, allocations: 310.8 kB / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.005689, allocations: 11.94 kB / 0.9843 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.005729, allocations: 29.64 kB / 0.9844 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.00578, allocations: 29.91 kB / 0.9844 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005782, allocations: 4 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.718e-05/0.00587, allocations: 49.69 kB / 0.9844 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.005885, allocations: 4 kB / 0.9844 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.005891, allocations: 0 / 0.9844 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.005906, allocations: 0 / 0.9844 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.005978, allocations: 15.94 kB / 0.9844 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.005986, allocations: 3.938 kB / 0.9845 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.006016, allocations: 11.95 kB / 0.9845 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.006023, allocations: 4 kB / 0.9845 GB, free: 8.629 MB / 0.9356 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 9.428e-05/0.006117, allocations: 113.8 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.006156, allocations: 0 / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.006179, allocations: 11.45 kB / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00618, allocations: 0 / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.006185, allocations: 0 / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.00619, allocations: 3.938 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.00658, allocations: 414.4 kB / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006581, allocations: 0 / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.006603, allocations: 8.062 kB / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006605, allocations: 0 / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.006616, allocations: 7.938 kB / 0.985 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006617, allocations: 0 / 0.985 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006617, allocations: 0 / 0.985 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.885e-05/0.006706, allocations: 73.92 kB / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.006732, allocations: 11.95 kB / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.006748, allocations: 3.938 kB / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.006766, allocations: 0 / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.006785, allocations: 4 kB / 0.9851 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.006787, allocations: 4.031 kB / 0.9851 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.006862, allocations: 106.4 kB / 0.9852 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.006863, allocations: 0 / 0.9852 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001991/0.007062, allocations: 11.95 kB / 0.9852 GB, free: 7.801 MB / 0.9356 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.0001314/0.007193, allocations: 95.78 kB / 0.9853 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.007278, allocations: 15.94 kB / 0.9853 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.007281, allocations: 3.938 kB / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.007292, allocations: 4 kB / 0.9853 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.007459, allocations: 12.25 kB / 0.9853 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.007827, allocations: 170.5 kB / 0.9855 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.037e-05/0.007897, allocations: 75.33 kB / 0.9856 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.00793, allocations: 7.984 kB / 0.9856 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.007961, allocations: 12.44 kB / 0.9856 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.007961, allocations: 0 / 0.9856 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.002958/0.01092, allocations: 345 kB / 0.9859 GB, free: 7.008 MB / 0.9356 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: 8.405843157321215]