Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00111/0.00111, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001349/0.001349, allocations: 170.6 kB / 24.86 MB, free: 8.883 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.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.818/1.818, allocations: 359 MB / 0.6063 GB, free: 10.89 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.468e-05, allocations: 2.938 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001549/0.001574, allocations: 0.816 MB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.00168, allocations: 39.78 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.001724, allocations: 5.062 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.001755, allocations: 7.875 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.001828, allocations: 11.88 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.898e-05/0.001867, allocations: 21.53 kB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.001953, allocations: 63.77 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002055, allocations: 31.98 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.002142, allocations: 44.72 kB / 0.7893 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.002175, allocations: 15.97 kB / 0.7893 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002189, allocations: 7.938 kB / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.002196, allocations: 4.75 kB / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.002213, allocations: 11.98 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.002235, allocations: 21.23 kB / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.028e-05/0.002315, allocations: 43.7 kB / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002318, allocations: 0 / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.895e-06/0.00232, allocations: 6.031 kB / 0.7894 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.002325, allocations: 0 / 0.7894 GB, free: 11.06 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.0003032/0.002628, allocations: 404.2 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.002661, allocations: 12.03 kB / 0.7898 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.002691, allocations: 16.89 kB / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.002812, allocations: 146.5 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.002824, allocations: 4.375 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.002834, allocations: 8.375 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.268e-05/0.002926, allocations: 83.16 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.002933, allocations: 192 / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.002941, allocations: 4.375 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.002947, allocations: 4.875 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.002976, allocations: 23.86 kB / 0.7901 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.003386, allocations: 0.7239 MB / 0.7908 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.003476, allocations: 269.4 kB / 0.7911 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.003511, allocations: 126.9 kB / 0.7912 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.003541, allocations: 124.6 kB / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.003584, allocations: 156.6 kB / 0.7915 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.003585, allocations: 0 / 0.7915 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.628e-05/0.003641, allocations: 35.41 kB / 0.7915 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.003698, allocations: 170.6 kB / 0.7917 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.003805, allocations: 199.5 kB / 0.7919 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.003813, allocations: 25.7 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.003887, allocations: 182.4 kB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.003889, allocations: 0.9062 kB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.003923, allocations: 31.36 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.004047, allocations: 496.7 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.004056, allocations: 7.938 kB / 0.7926 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.004104, allocations: 83.34 kB / 0.7926 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.004169, allocations: 83.91 kB / 0.7927 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004171, allocations: 0 / 0.7927 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001082/0.004279, allocations: 86.7 kB / 0.7928 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.004291, allocations: 5.656 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.004299, allocations: 7.984 kB / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.004307, allocations: 0 / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.004356, allocations: 15.94 kB / 0.7928 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00436, allocations: 4 kB / 0.7928 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.004385, allocations: 8.594 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.00439, allocations: 5.188 kB / 0.7929 GB, free: 7.289 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 9.897e-05/0.004488, allocations: 291.6 kB / 0.7931 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.004543, allocations: 156.8 kB / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.004592, allocations: 153.9 kB / 0.7934 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.575e-05/0.004658, allocations: 272 kB / 0.7937 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.54e-05/0.004723, allocations: 264.1 kB / 0.7939 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.0048, allocations: 284.8 kB / 0.7942 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.004977, allocations: 492.5 kB / 0.7947 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.475e-05/0.005012, allocations: 145.7 kB / 0.7948 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.005045, allocations: 148.8 kB / 0.795 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-05/0.005107, allocations: 265.4 kB / 0.7952 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.005166, allocations: 272 kB / 0.7955 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.08e-05/0.005227, allocations: 268.1 kB / 0.7957 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-05/0.005287, allocations: 272.1 kB / 0.796 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.005418, allocations: 452.7 kB / 0.7964 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.005466, allocations: 156.8 kB / 0.7966 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.005531, allocations: 272.9 kB / 0.7968 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.005583, allocations: 148.9 kB / 0.797 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.005648, allocations: 269.9 kB / 0.7972 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.005691, allocations: 152.9 kB / 0.7974 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.005739, allocations: 140.9 kB / 0.7975 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005739, allocations: 0 / 0.7975 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001528/0.005892, allocations: 7.953 kB / 0.7975 GB, free: 2.328 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.0001094/0.006001, allocations: 215.6 kB / 0.7977 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.971e-05/0.006071, allocations: 50.69 kB / 0.7978 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006073, allocations: 3.938 kB / 0.7978 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.006074, allocations: 0 / 0.7978 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.00636, allocations: 0.7062 MB / 0.7985 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.006589, allocations: 273.5 kB / 0.7987 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.006625, allocations: 59.34 kB / 0.7988 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.006664, allocations: 10.91 kB / 0.7988 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.006697, allocations: 74.7 kB / 0.7989 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.006698, allocations: 0 / 0.7989 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of Templates: time 0.001769/0.008467, allocations: 334.1 kB / 0.7992 GB, free: 0.5703 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.160289998631924]