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.001393/0.001393, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.001765/0.001765, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 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.963/0.963, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.84 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.463e-06/1.463e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.223e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001188/0.0012, allocations: 0.81 MB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.001304, allocations: 43.78 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.001345, allocations: 1.062 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.001373, allocations: 7.875 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.001439, allocations: 7.938 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.603e-05/0.001476, allocations: 21.53 kB / 0.7884 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.001552, allocations: 63.78 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.001648, allocations: 31.97 kB / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.00173, allocations: 43.84 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.29e-05/0.001763, allocations: 21.47 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.001777, allocations: 4 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.001784, allocations: 8 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.0018, allocations: 11.92 kB / 0.7886 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.001823, allocations: 20.42 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.999e-05/0.001893, allocations: 41.05 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.001895, allocations: 4 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.001896, allocations: 3.938 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.001899, allocations: 0 / 0.7887 GB, free: 11.05 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.0002706/0.00217, allocations: 410.3 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.002203, allocations: 8.031 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.002226, allocations: 12.89 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.002331, allocations: 140.4 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.00234, allocations: 8.375 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.002348, allocations: 10.47 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.153e-05/0.00243, allocations: 83.56 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.002436, allocations: 192 / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.002442, allocations: 4.375 kB / 0.7893 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.002447, allocations: 4.375 kB / 0.7893 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.002472, allocations: 19.92 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.002828, allocations: 0.7284 MB / 0.7901 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.002899, allocations: 269.6 kB / 0.7903 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.002927, allocations: 130.9 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.00295, allocations: 119.2 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.002988, allocations: 153.2 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.002989, allocations: 0 / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.158e-05/0.003031, allocations: 34.75 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.003074, allocations: 174.5 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.003162, allocations: 206.5 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.003168, allocations: 26.86 kB / 0.7911 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.003229, allocations: 174.4 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.00323, allocations: 4 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.003254, allocations: 24.75 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003456/0.0036, allocations: 0.4923 MB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.003608, allocations: 0 / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.003653, allocations: 81.47 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.003708, allocations: 88.66 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00371, allocations: 0 / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.87e-05/0.003798, allocations: 89.8 kB / 0.792 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.003811, allocations: 11.98 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003816, allocations: 3.938 kB / 0.7921 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.003825, allocations: 4 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.003863, allocations: 12 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.003866, allocations: 0 / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.003886, allocations: 7.938 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.00389, allocations: 4.656 kB / 0.7921 GB, free: 7.277 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 7.629e-05/0.003966, allocations: 293.6 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.004009, allocations: 160.8 kB / 0.7925 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.00405, allocations: 156.6 kB / 0.7927 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-05/0.004099, allocations: 268.1 kB / 0.7929 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-05/0.004147, allocations: 264.1 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.397e-05/0.004201, allocations: 286.5 kB / 0.7935 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.004347, allocations: 488.5 kB / 0.7939 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/0.004376, allocations: 148.8 kB / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.004406, allocations: 148.9 kB / 0.7942 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-05/0.004458, allocations: 268 kB / 0.7945 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.004513, allocations: 264.1 kB / 0.7947 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.335e-05/0.004566, allocations: 276.1 kB / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-05/0.004616, allocations: 272.7 kB / 0.7952 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.004724, allocations: 451.9 kB / 0.7957 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.004766, allocations: 157.7 kB / 0.7958 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.004826, allocations: 264.1 kB / 0.7961 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.004876, allocations: 149.7 kB / 0.7962 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.004936, allocations: 272.4 kB / 0.7965 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.004964, allocations: 150.1 kB / 0.7966 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.005006, allocations: 144.7 kB / 0.7968 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005006, allocations: 0 / 0.7968 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001455/0.005152, allocations: 11.95 kB / 0.7968 GB, free: 2.309 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 8.357e-05/0.005235, allocations: 216.2 kB / 0.797 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.16e-05/0.005297, allocations: 45.06 kB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005298, allocations: 0 / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005299, allocations: 0 / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.005593, allocations: 0.7098 MB / 0.7977 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.005828, allocations: 277.5 kB / 0.798 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.005858, allocations: 59.34 kB / 0.798 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.005889, allocations: 10.84 kB / 0.798 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.00592, allocations: 74.67 kB / 0.7981 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of SimCode: time 9.01e-07/0.005921, allocations: 1.688 kB / 0.7981 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of Templates: time 0.001552/0.007473, allocations: 330.9 kB / 0.7984 GB, free: 0.5547 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: 4.918349571060389]