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.001433/0.001433, allocations: 81.95 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.001814/0.001814, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.042/1.042, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.88 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.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.829e-05, allocations: 4.562 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001801/0.001829, allocations: 0.8173 MB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.001973, allocations: 40.75 kB / 0.7892 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.002022, allocations: 4 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.002061, allocations: 9.031 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.002145, allocations: 15.86 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.941e-05/0.002185, allocations: 15.98 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.002273, allocations: 64.34 kB / 0.7893 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.002387, allocations: 31.97 kB / 0.7893 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.002475, allocations: 44.53 kB / 0.7893 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.002517, allocations: 20.86 kB / 0.7894 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.002533, allocations: 4 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-06/0.002542, allocations: 8.594 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.00256, allocations: 8 kB / 0.7894 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.002581, allocations: 17.59 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.583e-05/0.002667, allocations: 39.77 kB / 0.7894 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002669, allocations: 0 / 0.7894 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.002672, allocations: 7.938 kB / 0.7894 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002676, allocations: 0 / 0.7894 GB, free: 11.09 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.0003331/0.003009, allocations: 417.5 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.003044, allocations: 12.03 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.003077, allocations: 12.89 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.003269, allocations: 134.1 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.003278, allocations: 4.375 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.00329, allocations: 12.38 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.003387, allocations: 81.53 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.003395, allocations: 3.719 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.003404, allocations: 4.375 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.00341, allocations: 4.375 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.003441, allocations: 23.91 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.003849, allocations: 0.7225 MB / 0.7908 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.003929, allocations: 269.4 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.003969, allocations: 126.9 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.004001, allocations: 119.2 kB / 0.7913 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.00404, allocations: 157.2 kB / 0.7915 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004041, allocations: 0 / 0.7915 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.244e-05/0.004094, allocations: 38.28 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.004149, allocations: 170.6 kB / 0.7917 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.004373, allocations: 203.8 kB / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.004381, allocations: 26.89 kB / 0.7919 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.004449, allocations: 178.4 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-06/0.004451, allocations: 0 / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.004482, allocations: 31.89 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.004595, allocations: 496.1 kB / 0.7926 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.004607, allocations: 9.203 kB / 0.7926 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.004648, allocations: 77.42 kB / 0.7926 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.004716, allocations: 88.31 kB / 0.7927 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004719, allocations: 0 / 0.7927 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001141/0.004833, allocations: 92.69 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004845, allocations: 4 kB / 0.7928 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.004851, allocations: 4 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.004859, allocations: 0 / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.00491, allocations: 12 kB / 0.7928 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.004916, allocations: 10.75 kB / 0.7928 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.004941, allocations: 15.92 kB / 0.7929 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.004946, allocations: 4 kB / 0.7929 GB, free: 7.305 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.134e-05/0.005037, allocations: 279.7 kB / 0.7931 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.005087, allocations: 152.8 kB / 0.7933 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.005135, allocations: 156.6 kB / 0.7934 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/0.005195, allocations: 272.1 kB / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-05/0.005254, allocations: 273.6 kB / 0.7939 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.845e-05/0.005312, allocations: 272 kB / 0.7942 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.005485, allocations: 496.5 kB / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.005517, allocations: 148.8 kB / 0.7948 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.00555, allocations: 145.5 kB / 0.795 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.903e-05/0.005609, allocations: 268 kB / 0.7952 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/0.005933, allocations: 272.6 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-05/0.005994, allocations: 272.6 kB / 0.7957 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.006053, allocations: 268.1 kB / 0.796 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.00618, allocations: 452.5 kB / 0.7964 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.006229, allocations: 158.1 kB / 0.7966 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.006292, allocations: 272 kB / 0.7968 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.006345, allocations: 144.9 kB / 0.797 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.006406, allocations: 268.4 kB / 0.7972 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.00644, allocations: 157.6 kB / 0.7974 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.186e-05/0.006492, allocations: 141 kB / 0.7975 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006492, allocations: 1.812 kB / 0.7975 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001536/0.006646, allocations: 7.953 kB / 0.7975 GB, free: 2.352 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.0001048/0.00675, allocations: 214.4 kB / 0.7977 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.006822, allocations: 40.92 kB / 0.7978 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006824, allocations: 1.031 kB / 0.7978 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.006825, allocations: 3.938 kB / 0.7978 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.007116, allocations: 0.715 MB / 0.7985 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.007349, allocations: 277.5 kB / 0.7987 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.007381, allocations: 63.34 kB / 0.7988 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.00741, allocations: 6.781 kB / 0.7988 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.007444, allocations: 78.05 kB / 0.7989 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.007444, allocations: 0 / 0.7989 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of Templates: time 0.001716/0.00916, allocations: 328.1 kB / 0.7992 GB, free: 0.5977 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.010052212048322]