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.002143/0.002143, allocations: 85.03 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.001884/0.001884, allocations: 162.7 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.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.878/2.878, allocations: 377.8 MB / 0.6221 GB, free: 12.58 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.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.583e-06/1.583e-06, allocations: 0 / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.315e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002/0.002033, allocations: 0.8012 MB / 0.9822 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.002164, allocations: 43.78 kB / 0.9823 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.002218, allocations: 0 / 0.9823 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.00226, allocations: 7.875 kB / 0.9823 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.002359, allocations: 15.86 kB / 0.9823 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.32e-05/0.002412, allocations: 15.98 kB / 0.9823 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.002531, allocations: 59.84 kB / 0.9824 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.002674, allocations: 27.97 kB / 0.9824 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.002752, allocations: 39.84 kB / 0.9824 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.00282, allocations: 31.89 kB / 0.9824 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.002842, allocations: 7.938 kB / 0.9825 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.002853, allocations: 8 kB / 0.9825 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.002877, allocations: 7.938 kB / 0.9825 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.00292, allocations: 23.97 kB / 0.9825 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003052, allocations: 79.58 kB / 0.9826 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003055, allocations: 0 / 0.9826 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003056, allocations: 0 / 0.9826 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.00306, allocations: 0 / 0.9826 GB, free: 9.723 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.0004604/0.00352, allocations: 306 kB / 0.9829 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.003558, allocations: 12.03 kB / 0.9829 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.003597, allocations: 8.891 kB / 0.9829 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.003815, allocations: 141.6 kB / 0.983 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003827, allocations: 4.375 kB / 0.983 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.003841, allocations: 8.375 kB / 0.983 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.004015, allocations: 93.72 kB / 0.9831 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004024, allocations: 192 / 0.9831 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004036, allocations: 8.375 kB / 0.9831 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.004042, allocations: 384 / 0.9831 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.004126, allocations: 43.86 kB / 0.9832 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.004635, allocations: 352.5 kB / 0.9835 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.00471, allocations: 37.19 kB / 0.9835 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.004775, allocations: 21.84 kB / 0.9836 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.004784, allocations: 0 / 0.9836 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.004817, allocations: 34.56 kB / 0.9836 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004818, allocations: 4 kB / 0.9836 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/0.004998, allocations: 57.56 kB / 0.9837 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.005067, allocations: 77.36 kB / 0.9837 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.005204, allocations: 141.2 kB / 0.9839 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.005223, allocations: 25.7 kB / 0.9839 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.005312, allocations: 112 kB / 0.984 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.00532, allocations: 3.953 kB / 0.984 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.005356, allocations: 17.72 kB / 0.984 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.005506, allocations: 314.8 kB / 0.9843 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.005528, allocations: 11.98 kB / 0.9843 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.005555, allocations: 17.66 kB / 0.9843 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.005608, allocations: 25.72 kB / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00561, allocations: 4 kB / 0.9844 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.27e-05/0.005702, allocations: 57.58 kB / 0.9844 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.00572, allocations: 11.94 kB / 0.9844 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005724, allocations: 0 / 0.9844 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005738, allocations: 0 / 0.9844 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.005802, allocations: 8 kB / 0.9844 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.005808, allocations: 3.938 kB / 0.9844 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.005833, allocations: 0 / 0.9844 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005837, allocations: 0 / 0.9844 GB, free: 7.59 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 9.675e-05/0.005934, allocations: 117.9 kB / 0.9846 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.005979, allocations: 11.94 kB / 0.9846 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.006019, allocations: 11.47 kB / 0.9846 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006021, allocations: 0 / 0.9846 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.006025, allocations: 0 / 0.9846 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.006031, allocations: 3.938 kB / 0.9846 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.006441, allocations: 414.4 kB / 0.985 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006442, allocations: 0 / 0.985 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.006463, allocations: 4 kB / 0.985 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006465, allocations: 96 / 0.985 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.006475, allocations: 15.92 kB / 0.985 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.006478, allocations: 4 kB / 0.985 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00648, allocations: 0 / 0.985 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.006574, allocations: 73.94 kB / 0.9851 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.006597, allocations: 7.953 kB / 0.9851 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.006613, allocations: 7.938 kB / 0.9851 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.006631, allocations: 3.938 kB / 0.9851 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.006647, allocations: 3.984 kB / 0.9851 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.006651, allocations: 4 kB / 0.9851 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.006727, allocations: 95.27 kB / 0.9852 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.006727, allocations: 4.031 kB / 0.9852 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001973/0.006924, allocations: 12 kB / 0.9852 GB, free: 6.734 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.0001259/0.00705, allocations: 99.72 kB / 0.9853 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.007137, allocations: 12 kB / 0.9853 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007139, allocations: 0 / 0.9853 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.007152, allocations: 7.938 kB / 0.9853 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.007312, allocations: 8 kB / 0.9853 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.007668, allocations: 170.8 kB / 0.9855 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.491e-05/0.007742, allocations: 75.33 kB / 0.9856 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.007771, allocations: 3.984 kB / 0.9856 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.007799, allocations: 12.5 kB / 0.9856 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of SimCode: time 6.81e-07/0.0078, allocations: 0 / 0.9856 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of Templates: time 0.002984/0.01078, allocations: 345.3 kB / 0.9859 GB, free: 5.957 MB / 0.8887 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: 8.212304551154375]