Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001249/0.001249, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001423/0.001423, allocations: 169 kB / 23.27 MB, free: 1.219 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.038/1.038, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.437/2.437, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.008e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001608/0.001638, allocations: 0.8249 MB / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.001761, allocations: 39.78 kB / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.001811, allocations: 4 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.001848, allocations: 15.86 kB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.001927, allocations: 11.81 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.002e-05/0.001967, allocations: 19.98 kB / 0.8906 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.002048, allocations: 55.84 kB / 0.8907 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.002168, allocations: 35.95 kB / 0.8907 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.002263, allocations: 43.84 kB / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.002298, allocations: 11.92 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.002315, allocations: 7.984 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-06/0.002321, allocations: 4 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.002338, allocations: 11.94 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.002364, allocations: 27.92 kB / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.225e-05/0.002446, allocations: 39.77 kB / 0.8909 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.002449, allocations: 0 / 0.8909 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.41e-07/0.00245, allocations: 4 kB / 0.8909 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.002454, allocations: 0 / 0.8909 GB, free: 8.598 MB / 0.8542 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.0003264/0.00278, allocations: 412.2 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.002825, allocations: 12.62 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.002858, allocations: 20.84 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.002969, allocations: 132.5 kB / 0.8914 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.002979, allocations: 8.375 kB / 0.8914 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.002987, allocations: 8.375 kB / 0.8914 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.003085, allocations: 91.7 kB / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003091, allocations: 192 / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.003098, allocations: 384 / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.003104, allocations: 8.312 kB / 0.8915 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.003133, allocations: 27.86 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.003547, allocations: 0.7147 MB / 0.8923 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.003627, allocations: 261.4 kB / 0.8925 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.003658, allocations: 126.9 kB / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.003689, allocations: 123.2 kB / 0.8928 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.003741, allocations: 164.6 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/0.003743, allocations: 0 / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.348e-05/0.003806, allocations: 37.69 kB / 0.8929 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.00386, allocations: 170.6 kB / 0.8931 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.003966, allocations: 203.6 kB / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.003974, allocations: 25.7 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.004049, allocations: 174.5 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.004052, allocations: 4 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.004085, allocations: 31.33 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.004206, allocations: 0.4884 MB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.004214, allocations: 8 kB / 0.894 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.004258, allocations: 77.47 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.00432, allocations: 85.38 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.004323, allocations: 4 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.943e-05/0.004423, allocations: 77.5 kB / 0.8942 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.004437, allocations: 4 kB / 0.8942 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.004442, allocations: 4 kB / 0.8942 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.004455, allocations: 4 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.004503, allocations: 19.92 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.004506, allocations: 0 / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.004531, allocations: 15.89 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004535, allocations: 8.25 kB / 0.8943 GB, free: 4.801 MB / 0.8542 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 8.898e-05/0.004624, allocations: 279.7 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.004674, allocations: 156.8 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.004731, allocations: 156.7 kB / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-05/0.004788, allocations: 272.1 kB / 0.8951 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.827e-05/0.004847, allocations: 272 kB / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-05/0.004903, allocations: 268 kB / 0.8956 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.005085, allocations: 0.4926 MB / 0.8961 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.005119, allocations: 148.9 kB / 0.8963 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.005153, allocations: 148.8 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-05/0.005215, allocations: 276 kB / 0.8967 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.005274, allocations: 268.1 kB / 0.8969 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-05/0.005332, allocations: 268 kB / 0.8972 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.97e-05/0.005392, allocations: 268.1 kB / 0.8974 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.005524, allocations: 460.1 kB / 0.8979 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.005569, allocations: 152.8 kB / 0.898 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.005648, allocations: 272 kB / 0.8983 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.0057, allocations: 148.9 kB / 0.8984 GB, free: 408 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.005763, allocations: 268 kB / 0.8987 GB, free: 132 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.005807, allocations: 148.9 kB / 0.8988 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.005859, allocations: 145.2 kB / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005859, allocations: 4 kB / 0.899 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001651/0.006024, allocations: 8 kB / 0.899 GB, free: 15.82 MB / 0.8698 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.0001299/0.006154, allocations: 214.4 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.515e-05/0.006229, allocations: 27.56 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.006231, allocations: 0 / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.006234, allocations: 3.938 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.006536, allocations: 0.7106 MB / 0.8999 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.006813, allocations: 277.7 kB / 0.9002 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.006852, allocations: 59.34 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.006895, allocations: 4.734 kB / 0.9002 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.006934, allocations: 74.2 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/0.006934, allocations: 0 / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.001748/0.008682, allocations: 340.6 kB / 0.9006 GB, free: 14.06 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.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.394882350228727]