Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.0009242/0.0009242, 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.001017/0.001017, allocations: 161 kB / 23.82 MB, free: 0.75 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.002/1.002, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.733/1.733, allocations: 359 MB / 0.6052 GB, free: 10.96 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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.989e-05, allocations: 6.156 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001542/0.001572, allocations: 0.821 MB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.001686, allocations: 48.62 kB / 0.7879 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.00173, allocations: 0.5625 kB / 0.7879 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.001765, allocations: 7.875 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.001851, allocations: 20.95 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.236e-05/0.001894, allocations: 11.98 kB / 0.788 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.00199, allocations: 63.84 kB / 0.788 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.002108, allocations: 32.53 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.002201, allocations: 40.59 kB / 0.7881 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.002238, allocations: 15.92 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.00226, allocations: 16.83 kB / 0.7881 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.002268, allocations: 4 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.002285, allocations: 12.58 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.002312, allocations: 15.94 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.002408, allocations: 45.48 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00241, allocations: 0 / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.223e-06/0.002411, allocations: 0 / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.002416, allocations: 0 / 0.7882 GB, free: 11.32 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.0003453/0.002761, allocations: 413.8 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.002801, allocations: 8.031 kB / 0.7886 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.002846, allocations: 12.89 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.002999, allocations: 144.4 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.00301, allocations: 7.812 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003022, allocations: 8.375 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.003147, allocations: 87.48 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.003156, allocations: 192 / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.003166, allocations: 384 / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.003176, allocations: 4.375 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.003223, allocations: 27.86 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.003701, allocations: 0.7452 MB / 0.7896 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.003786, allocations: 273.4 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.003823, allocations: 131.6 kB / 0.79 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.003851, allocations: 119.8 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.003888, allocations: 156.5 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.003889, allocations: 0.625 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.069e-05/0.00395, allocations: 34.78 kB / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.004003, allocations: 174.5 kB / 0.7905 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.00412, allocations: 199.6 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.00413, allocations: 26.55 kB / 0.7907 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.00421, allocations: 178.5 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.004213, allocations: 0.625 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.004246, allocations: 31.38 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.004349, allocations: 497.3 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.004363, allocations: 11.92 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.004405, allocations: 77.48 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/0.004472, allocations: 92.84 kB / 0.7915 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.004475, allocations: 4 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001298/0.004605, allocations: 83.94 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.004622, allocations: 8 kB / 0.7916 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004627, allocations: 3.938 kB / 0.7916 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.004644, allocations: 4.625 kB / 0.7916 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.004703, allocations: 12 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.004709, allocations: 5.906 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.00473, allocations: 4 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.004736, allocations: 8 kB / 0.7917 GB, free: 7.496 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.444e-05/0.004831, allocations: 291.6 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.004877, allocations: 153.4 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.004924, allocations: 152.7 kB / 0.7922 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/0.004978, allocations: 268.7 kB / 0.7925 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-05/0.005037, allocations: 280 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001352/0.005172, allocations: 273.3 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.005345, allocations: 0.5038 MB / 0.7935 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/0.005376, allocations: 144.9 kB / 0.7937 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.005406, allocations: 149.4 kB / 0.7938 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.504e-05/0.005462, allocations: 272.1 kB / 0.7941 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.005521, allocations: 273.1 kB / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.794e-05/0.005579, allocations: 264.2 kB / 0.7946 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.705e-05/0.005636, allocations: 276 kB / 0.7948 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.005767, allocations: 448.9 kB / 0.7953 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.005816, allocations: 160.7 kB / 0.7954 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.005879, allocations: 272.9 kB / 0.7957 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.005929, allocations: 148.8 kB / 0.7958 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.005989, allocations: 270.6 kB / 0.7961 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.006022, allocations: 148.8 kB / 0.7962 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.006079, allocations: 144.9 kB / 0.7964 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006079, allocations: 0 / 0.7964 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001576/0.006237, allocations: 15.95 kB / 0.7964 GB, free: 2.492 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.0001129/0.00635, allocations: 221.2 kB / 0.7966 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.755e-05/0.006447, allocations: 39.62 kB / 0.7966 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006449, allocations: 0 / 0.7966 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.00645, allocations: 0 / 0.7966 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.006758, allocations: 0.7115 MB / 0.7973 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.007015, allocations: 273.5 kB / 0.7976 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.00705, allocations: 63.28 kB / 0.7976 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.007079, allocations: 9.844 kB / 0.7976 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.007101, allocations: 13.56 kB / 0.7977 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.007101, allocations: 0 / 0.7977 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.002142/0.009243, allocations: 323.2 kB / 0.798 GB, free: 0.8125 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.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.999248854350299]