Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009996/0.0009996, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009902/0.0009902, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9596/0.9596, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.43/2.43, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.543e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002216/0.002241, allocations: 0.814 MB / 0.8905 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.002395, allocations: 43.78 kB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.002458, allocations: 0 / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.002505, allocations: 11.86 kB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.002602, allocations: 19.81 kB / 0.8906 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.091e-05/0.002653, allocations: 15.98 kB / 0.8906 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.002764, allocations: 59.84 kB / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.002894, allocations: 35.95 kB / 0.8907 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.003017, allocations: 39.84 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.003066, allocations: 19.91 kB / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.003085, allocations: 4 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.003094, allocations: 7.938 kB / 0.8908 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.003119, allocations: 15.94 kB / 0.8908 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.003156, allocations: 23.91 kB / 0.8908 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003268, allocations: 39.84 kB / 0.8909 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003271, allocations: 0 / 0.8909 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003271, allocations: 0 / 0.8909 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003276, allocations: 0 / 0.8909 GB, free: 8.582 MB / 0.8542 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.0004512/0.003727, allocations: 412.2 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.003781, allocations: 8.625 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.003832, allocations: 24.84 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.003997, allocations: 136.4 kB / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.004013, allocations: 8.375 kB / 0.8914 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.004024, allocations: 4.375 kB / 0.8914 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.004157, allocations: 88.08 kB / 0.8915 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.004167, allocations: 4.188 kB / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.00418, allocations: 8.375 kB / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.004188, allocations: 384 / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.004234, allocations: 27.8 kB / 0.8916 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.004881, allocations: 0.7146 MB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.004973, allocations: 269.4 kB / 0.8925 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.005012, allocations: 131 kB / 0.8926 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.005044, allocations: 123.2 kB / 0.8928 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.005097, allocations: 156.6 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.005098, allocations: 4 kB / 0.8929 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.412e-05/0.005163, allocations: 29.66 kB / 0.8929 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.005224, allocations: 174.6 kB / 0.8931 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.005366, allocations: 203.1 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.005375, allocations: 25.7 kB / 0.8933 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.005459, allocations: 178.5 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.005461, allocations: 0 / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.005503, allocations: 31.33 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.005646, allocations: 0.4884 MB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.005659, allocations: 7.938 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.005712, allocations: 77.47 kB / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.005786, allocations: 89.38 kB / 0.8942 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.005789, allocations: 0 / 0.8942 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001322/0.005921, allocations: 81.56 kB / 0.8942 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005934, allocations: 4 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.00594, allocations: 4 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.005954, allocations: 3.938 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.00601, allocations: 15.98 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.006015, allocations: 4 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.006054, allocations: 11.89 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.006061, allocations: 4 kB / 0.8943 GB, free: 4.785 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001049/0.006165, allocations: 287.9 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.006235, allocations: 152.8 kB / 0.8947 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.006298, allocations: 156.7 kB / 0.8949 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.285e-05/0.006371, allocations: 276 kB / 0.8951 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-05/0.006443, allocations: 272.1 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003403/0.006783, allocations: 272 kB / 0.8956 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.007002, allocations: 492.5 kB / 0.8961 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.115e-05/0.007043, allocations: 152.9 kB / 0.8963 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.007086, allocations: 148.8 kB / 0.8964 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/0.007156, allocations: 268 kB / 0.8967 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.007233, allocations: 272 kB / 0.8969 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.007308, allocations: 268.1 kB / 0.8972 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.708e-05/0.007385, allocations: 268.1 kB / 0.8974 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.007556, allocations: 464.1 kB / 0.8979 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.007616, allocations: 156.8 kB / 0.898 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.007697, allocations: 268.1 kB / 0.8983 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.007774, allocations: 148.9 kB / 0.8984 GB, free: 388 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.007845, allocations: 268 kB / 0.8987 GB, free: 112 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.007895, allocations: 144.9 kB / 0.8988 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.768e-05/0.007963, allocations: 145.2 kB / 0.899 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007963, allocations: 0 / 0.899 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002595/0.008223, allocations: 11.98 kB / 0.899 GB, free: 15.81 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001113/0.008334, allocations: 218.4 kB / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.00841, allocations: 35.5 kB / 0.8992 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008411, allocations: 0 / 0.8992 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.008414, allocations: 3.984 kB / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.008812, allocations: 0.7062 MB / 0.8999 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.009142, allocations: 273.7 kB / 0.9002 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.00919, allocations: 59.84 kB / 0.9002 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.009233, allocations: 8.734 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.009282, allocations: 70.2 kB / 0.9003 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/0.009282, allocations: 0 / 0.9003 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of Templates: time 0.00223/0.01151, allocations: 344.8 kB / 0.9006 GB, free: 14.04 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.313010598067194]