Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001186/0.001186, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001792/0.001792, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.752/1.752, allocations: 359 MB / 0.6052 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.892e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001673/0.001702, allocations: 0.8157 MB / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.001819, allocations: 42.28 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.001868, allocations: 4 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.001904, allocations: 7.875 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.001988, allocations: 15.8 kB / 0.788 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.145e-05/0.00203, allocations: 15.98 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.002132, allocations: 67.83 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.002256, allocations: 23.98 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.002356, allocations: 49.56 kB / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.002397, allocations: 23.89 kB / 0.7881 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.002416, allocations: 4 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.002425, allocations: 8 kB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.002444, allocations: 8.531 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.002473, allocations: 19.92 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.002578, allocations: 41.2 kB / 0.7882 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002581, allocations: 4 kB / 0.7882 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002582, allocations: 0 / 0.7882 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.002588, allocations: 0 / 0.7882 GB, free: 11.3 MB / 0.7448 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.0003755/0.002963, allocations: 409.4 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.003008, allocations: 12.03 kB / 0.7886 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.003053, allocations: 13.7 kB / 0.7886 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.0032, allocations: 144.4 kB / 0.7888 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.003212, allocations: 5.281 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003223, allocations: 8.375 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.00336, allocations: 81.61 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.003367, allocations: 2.781 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.00338, allocations: 12.31 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.003388, allocations: 4.312 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.003437, allocations: 35.84 kB / 0.7889 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.00397, allocations: 0.7452 MB / 0.7897 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.004061, allocations: 273.6 kB / 0.7899 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.004094, allocations: 127.4 kB / 0.79 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.004121, allocations: 123.9 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.004163, allocations: 152.6 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.004164, allocations: 0.5312 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.848e-05/0.004223, allocations: 35.31 kB / 0.7903 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.004276, allocations: 174.5 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.004413, allocations: 200 kB / 0.7907 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.004422, allocations: 25.7 kB / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.004508, allocations: 182.4 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.004511, allocations: 0.5 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.004549, allocations: 31.95 kB / 0.7909 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.004782, allocations: 496.1 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.004798, allocations: 4.781 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.00485, allocations: 77.48 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.00493, allocations: 93.66 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.004932, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001481/0.00508, allocations: 90.72 kB / 0.7916 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.005097, allocations: 4 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.005103, allocations: 4.844 kB / 0.7917 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.00512, allocations: 4 kB / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.00519, allocations: 9.219 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.005199, allocations: 7.938 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.005221, allocations: 4 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.005229, allocations: 5.312 kB / 0.7917 GB, free: 7.473 MB / 0.7448 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.0001074/0.005336, allocations: 291.6 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.005401, allocations: 152.8 kB / 0.7921 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.005459, allocations: 154.2 kB / 0.7923 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.985e-05/0.005529, allocations: 276.1 kB / 0.7925 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-05/0.005597, allocations: 268 kB / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.015e-05/0.005667, allocations: 276 kB / 0.793 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.005852, allocations: 0.5026 MB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.005887, allocations: 152.8 kB / 0.7937 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.00592, allocations: 148.8 kB / 0.7938 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.887e-05/0.005979, allocations: 268.1 kB / 0.7941 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.00604, allocations: 276 kB / 0.7943 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.304e-05/0.006103, allocations: 268.1 kB / 0.7946 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.884e-05/0.006162, allocations: 268 kB / 0.7948 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.006287, allocations: 447.9 kB / 0.7953 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.006342, allocations: 165.3 kB / 0.7954 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.006408, allocations: 268.6 kB / 0.7957 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.006462, allocations: 154.8 kB / 0.7958 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.006525, allocations: 264.4 kB / 0.7961 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.006557, allocations: 152.8 kB / 0.7962 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.006616, allocations: 151.6 kB / 0.7964 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006616, allocations: 0 / 0.7964 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001546/0.00677, allocations: 11.95 kB / 0.7964 GB, free: 2.461 MB / 0.7448 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.0001165/0.006887, allocations: 212.1 kB / 0.7966 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.006989, allocations: 40.45 kB / 0.7966 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.006991, allocations: 0.7188 kB / 0.7966 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.006992, allocations: 2.906 kB / 0.7966 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.007284, allocations: 0.7062 MB / 0.7973 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.007573, allocations: 273.5 kB / 0.7976 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.007611, allocations: 67.22 kB / 0.7976 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.007643, allocations: 10.72 kB / 0.7977 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.007662, allocations: 8.5 kB / 0.7977 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.007664, allocations: 4 kB / 0.7977 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of Templates: time 0.002136/0.009799, allocations: 318.3 kB / 0.798 GB, free: 0.7891 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.084660327993333]